Linux offers a nice command to check the size of a Directory

The size of a directory and its contents can be determined using the “du” command in Linux. It has a variety of options that you can view via “du –help”.

Use the command below to displays the sizes of the directory and its subdirectories in human-readable form.

du -h directory


If you enjoyed this post, why not leave a comment or consider a Donation as a token of your appreciation. If you need help implementing something you saw on this site or any other project why not Hire Me?
How to Linux: Get Directory Size in Human Readable – How do I determine the size of a directory?
Tagged on:                                 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Loading Facebook Comments ...