How to calculate directory size

In Centos, if you want to calculate directory size, you can use this command:

du -msh /directory

This command will show the unit of directory size.

Revisions

No comments yet.

Leave a Reply