Powered by Blogger.

Wednesday, October 6, 2010

FINDING THE SIZE OF A CURRENT FOLDER OR SUB-FOLDER

To find the size of a current folder, type the following code:

du -sh

To find the size of all sub-folders and files in the current folder, type in:


du * -sh

here s stands for "summarise"
h stands for "human readable format"

0 comments

Post a Comment