ls -lSh | head
Computer Tips - Linux: How I can find the largest/biggest files in a folder?
Date: 2010jan27
OS: Linux
Q. Linux: How I can find the largest/biggest files in a folder?
A. Use the -S option for ls that sorts by size. I also like to use the
-h option that displays sizes in human-friendly format. Then pipe
it to head which will display the top ten: