How to find large files in Linux?

HostStud

Administrator
Staff member
If you would like to find the files greater then 100mb in current directory run :
find . -xdev -type f -size +100M
Command to find top 5 directories in /home directory :
du -a /home | sort -n -r | head -n 5
Command to find top 5 directories and files in /home directory :
# du -Sh /home | sort -rh | head -5
 
Top