Shell/Bash: find folder size in linux Example


Shell/Bash Example: This is the "find folder size in 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

show directory size linux

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

how to get the size of directory in linux

du -sh /var

find folder size in linux

df -sh .

command to check size of folder in linux

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

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