Show size of the files and directories sorted by size
du -sk * | sort -rn
Estimate space used by directory.
du -sh dir
du shows the ‘disk usage’ – the space taken up by the files and folders in the current directory.
du -bh | more
I am Binny V A, a freelance Web Developer on the LAMP Platform. Open Source Geek.
Follow me(@binnyva) on Twitter