Computer Tips - How I can I find the largest file in a directory?
Date: 2012oct25 OS: Linux, cygwin Keywords: biggest, smallest, space Q. How I can I find the largest file in a directory? A. Show the top ten files in the current folder by size:ls -Sl | headThe -S option for ls sorts by size.