How to Find Biggest Files in Linux

Easiest way to find biggest files and folder/Directory in LINUX  by Simple command (ls and du )


A common problem with computers is when you have a number of large files (such as audio/video clips) that you may want to get rid of. You can find the biggest files in the current directory with:

Execute bellow command in desired Folder or Path.

[root@amitmaheshwari.in]#  ls -lSrh

The "r" causes the large files to be listed at the end and the "h" gives human readable output (MB and such).
You could also search for the biggest MP3/MPEGs/pdf/ etc:

[root@amitmaheshwari.in]# ls -lSrh *.mp*

You can also look for the largest directories with:

[root@amitmaheshwari.in]# du -kx | egrep -v "\./.+/" | sort -n