Answers for "folder size command bash"

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
4

command to check size of folder in linux

du -lh --max-depth=1 --block-size=M | sort -nr
Posted by: Guest on September-30-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language