Linux: Determine directory sizes
du -shc <directory>
Example:
Report the size of the /home/documents directory
du -shc /home/documents
Report the size of all items within the /home/documents directory
du -shc /home/documents/*
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Linux
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#