Answers for "linux how to get size of directory"

9

how to check folder size in linux

# show all folder size in the current directory
du -h --max-depth=1
Posted by: Guest on January-18-2021
4

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.
Posted by: Guest on March-26-2020

Code answers related to "linux how to get size of directory"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language