# show all folder size in the current directory
du -h --max-depth=1
du -sh /home/user/
du -sh *
du -sh /directory
du -shx /directory
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 *
du -sh /directory
du -shx /directory
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 -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)