# show all folder size in the current directory
du -h --max-depth=1
du -sh /var
du -sh folder
sudo du -sh /path/to/folder
du -lh --max-depth=1 --block-size=M | sort -nr
du -sh folder/
#This shows you the folder size in human readable format
sudo du -sh /folder
du -sh -- *
df -sh .
du -sh /* | sort -h
sudo du -sh /var
du -h directory
#and this shows all sizes in that directory/folder
ls -lsh
du -h --max-depth=1 /directory
du -sh *
du -sh /directory
du -shx /directory
df -h .; du -sh -- * | sort -hr
#Filesystem Size Used Avail Use% Mounted on
#/dev/sdb2 206G 167G 29G 86% /
#115M node_modules
#2.1M examples
#68K src
#4.0K webpack.config.js
#4.0K README.md
#4.0K package.json
du -a / | sort -n -r | head -n 10
5351116 /
2462616 /usr
2153492 /home
2153472 /home/george
1571924 /usr/lib
du -sh directory_path
-s, --summarize
display only a total for each argument
-h, --human-readable
print sizes in human readable format (e.g., 1K 234M 2G)