You are viewing an old revision of this post, from June 15, 2015 @ 11:16:33. See below for differences between this version and the current revision.

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.


  • June 15, 2015 @ 11:16:33 [Current Revision] by admin
  • June 15, 2015 @ 11:16:33 by admin
  • June 15, 2015 @ 11:15:54 by admin

Revision Differences

There are no differences between the June 15, 2015 @ 11:16:33 revision and the current revision. (Maybe only post meta information was changed.)

No comments yet.

Leave a Reply