Skip to content



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/mydomain.com/
837M    /mail/mydomain.com/

In this case, the size is shown in MBs.

Posted in Other, Tips & Tricks.


One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Goody says

    Nice trick… Thanks man…



Some HTML is OK

or, reply to this post via trackback.