How to View Directory Size on Linux

I searched my blog for it thinking I am sure I blogged it before but it turned out that I have not. This is a very useful command when you want to know the size of directories.

du -h --max-depth=1

I did remember it and I was able to use it just now… Where did I remember that… I probably tried to memorize it before.

Leave a Reply

Your email address will not be published.