How do I find the size of a directory in Linux?

How do I find the size of a directory in Linux?
Answer
To view the file size of a directory pass the -s option to the du command followed by the folder. This will print a grand total size for the folder to standard output.
 

Tìm kiếm

Back
Top