Share icon

Following commands(In Bold) used for different purpose 

1. Use df -h For check out the used space, free space and total space From all the partitions.

2. Use du -h For check all folder size of current directory recursively with there name and path.

3. Use du -sh to check the size of current directory.

4. Use du -h filename to check space of particular folder in current directory.
 

5.Use du -h --max-depth=1|sort -h to view size of folder in ascending format.


May this article helps you.

Thanks

Add new comment

Restricted HTML