Shell/Bash: check folder sizes linux Example


Shell/Bash Example: This is the "check folder sizes linux" Example. compiled from many sources on the internet by

check folder sizes linux

du -h --max-depth=1

how to check folder size in linux

# show all folder size in the current directory
du -h --max-depth=1

command to check size of folder in linux

du -lh --max-depth=1 --block-size=M | sort -nr

show directory size linux

du -sh /home/george
2.1G    /home/george

how to get the size of directory in linux

du -sh /var

linux command to list directory size

sudo du -sh /var

* Summary: This "check folder sizes linux" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!