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 53963 times.
Share your Linux code snippets:
- Get some recognition & link back to your site.