Sunday 18 March 2012

Finding the Size of a Folder or Sub-folder In Linux

 In Linux, to find the size of a current folder, type the following command in terminal:
du -sh 

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


Note:
s stands for ‘summarise’
h stands for ‘human readable format’

No comments:

Post a Comment