Shell/Bash: shell get size of directory Example


Shell/Bash Example: This is the "shell get size of directory" Example. compiled from many sources on the internet by

how to get the size of directory in linux

du -sh /var

shell get size of directory

du -h your_directory
# gives you the size of your target directory.
du -hcs your_directory
# If you want a brief output.

* Summary: This "shell get size of directory" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!