widgets Linux Help Commands


du

This command help to show disk usage for files and folders.

For human readable format

du -h

See total disk usage on last line use -c flag

du -ch

See just total on current folder

du -sh

All sub folders disk usage

du -sh *

The best command is, show all sub folders with current folder total:

du -csh *