Audio Analytic Interview Question: How do you find the largest f... | Glassdoor.co.uk

Interview Question

Software Engineer Interview Cambridge, East of England, England

How do you find the largest file in a directory?

Answer

Interview Answer

2 Answers

0

ls -l and pipe to awk and add some rule to select the largest file, i admitted i didn't know awk sitax that much. The interviewer said that there was a way to do it directly with ls.

Interview Candidate on 27 Feb 2015
0

ls -S

Sid on 16 Jun 2015

Add Answers or Comments

To comment on this, Sign In or Sign Up.