Checking top 10 biggest files

du -hsx * | sort -rh | head -10

meaning :
show disk usage in human readable form, show summary, sort in reverse, in human readable form, show top 10 results only.

Advertisements