Check dir size howto

It is useful to know how to check the size of a folder. All you need to do is to run next command:

# du -hs /dir/location/

For example:

[root@myserver /]# du -hs /mail/
837M    /mail/

In this case, the size is shown in MBs.

1 thought on “Check dir size howto

Leave a Reply

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