5924 Views
In the Linux file system to get the size of a directory, you need to calculate and sum all file size of that directory.
The command du is used for summarizing disk usage of each file, recursively for directories.
Get the size of a directory:
du -hs /path/to/directory
Here ...
Sheetal Kumar
Apr 04, 2020