How to list size of directories in current folder

Note to self, it’s deceptively simple, once one manages to read the manpages properly:

du -hd 1 /path/to/directory

If directory is the current folder, this shortens to:

du -hd 1

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.