# show all folder size in the current directory
du -h --max-depth=1
du -h your_directory
# gives you the size of your target directory.
du -hcs your_directory
# If you want a brief output.
du -sh /var
du -sh folder
sudo du -sh /path/to/folder
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
df -sh .
du -sh /* | sort -h
du -sh *
du -sh /directory
du -shx /directory
sudo du -sh /var
du -h 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 -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)