Linux - How to find the size of a folder and sub directory, Show the file size

How to find the size of a folder and sub directory

How to find the size of a folder and sub folder in Linux machine

In windows machine you can find the size of a file easily just
Right click the file or folder -> Select properties -> It will show the file size.


In Linux machine you can use du command to find the file size.

 # du -sch ./*

The below command will print the size (in human readable form) of all sub folders from the current location.

The topic on Linux - How to find the size of a folder and sub directory is posted by - Patel

Hope you have enjoyed, Linux - How to find the size of a folder and sub directoryThanks for your time

Tech Bluff