How to list size of directories in current folder

Note to self, it’s deceptively simple, once one manages to read the manpages properly:
[code lang=”bash” gutter=”false”]du -hd 1 /path/to/directory[/code]
If directory is the current folder, this shortens to:
[code lang=”bash” gutter=”false”]du -hd 1[/code]


Posted

in

,

by

Tags: