Show Disk Usage – du

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

du -bh | more

If you want to see how much space each folder in the current folder takes up, use this command…

du -hs *
Author: Binny V A
A philosopher programmer who specializes in backend development and stoicism.

Leave a Reply

Your email address will not be published. Required fields are marked *