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.
Short Circuit…
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.
– January 4, 2010
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.
Nice trick… Thanks man…