du -h --max-depth=1 .
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.
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.