How do you estimate the size of a directory?
What will determine the size of a directory? This includes subdirectories and files
Best Answer
du -s directory_name
Or to get human readable output.
du -sh directory_name
The -s
option means that it won't list the size for each subdirectory, only the total size.