Linux Output top level directory size only

Useful if you are trying to find directories which consume a large amount of space, without outputting all of their subdirectory sizes.
du -h --max-depth=1 .
Posted by
Snippet Viewed 26099 times.

Share your Linux code snippets:

  • Get some recognition & a link back to your site.
  • Create your own code library.
  • Help your fellow developers, as they have helped you.
Submit | Browse

Most Recent linux snippets

Most Viewed

The FitDesk Under Desk Elliptical