[🔴LIVE] How to calculate size of all sub-directories at any path recursively?

Опубликовано: 07 Август 2026
на канале: Red Server Host
34
0

Today in this video we will show you how to calculate and find out the size of all sub-directories and folders at any path recursively. To do this you just need to have the SSH access i.e shell terminal and PuTTy software installed on your device. Now in order to get the size of all sub-directories at any path recursively, just follow the given steps:

Login to your server via SSH/PuTTy
Then cd to the desired path
Enter the command given below
=============================
du -h /path/to/directory -d l
=============================
With the help of the above command you will be able to see the actual size of your directory and its sub-directories.

That's it!!!
For more information, kindly follow us on social media like Twitter and Facebook and for video tutorials, subscribe to our YouTube channel -   / redserverhost.com  

Facebook Page-   / redserverhost  
Twitter Page-   / redserverhost.com  
Official Website- https://redserverhost.com

If you have any query, feel free to let us know via the comments section below.

#calculatediskusage #findsizecommandSSH #displayfoldersize #ssh #linux