Pergunta de entrevista da empresa Audio Analytic

How do you find the largest file in a directory?

Respostas da entrevista

Sigiloso

17 de jun. de 2015

ls -S

Sigiloso

27 de fev. de 2015

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.