How to get folder size linux

In this article let’s discuss about How to get folder size linux. Let’s go through the following methods without any delay.

Method 1:

# show all folder size in the current directory
du -h --max-depth=1

If you are facing any issues with the above approach then try the alternative that is given below. It may look similar but have a try!

Method 2 :

du -h --max-depth=1

Hope the above solution works.

Realted Posts : How to deactivate virtualenv