Posts Tagged With: du

Command to Sort Files by Size

Tagged with: , , , , ,

Show size of the files and directories sorted by size


du -sk * | sort -rn
No Comments »

Show Space Usage of a Directory

Tagged with: , , , , ,

Estimate space used by directory.


du -sh dir
No Comments »

Show Disk Usage – du

Tagged with: , , , , , ,

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


du -bh | more
No Comments »