Linux show directory sizes

Posted by & filed under Linux.

To find the size of directories in the current path:

du -h -c --max-depth=1

flag -h = human readable, -c = display total sizes. Remove the –max-depth=1 bit if you want to see subdirectories.

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>