How do I check the size of a directory in Linux?
Answer
How to view the file size of a directory. 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. Along with the -h option a human readable format is possible.
Answer
How to view the file size of a directory. 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. Along with the -h option a human readable format is possible.