01 Feb

Show size of the files and directories sorted by size


du -sk * | sort -rn

31 Jan

Estimate space used by directory.


du -sh dir

30 Dec

du shows the ‘disk usage’ – the space taken up by the files and folders in the current directory.


du -bh | more