DekGenius.com
SHELL
how to check folder size in linux
# show all folder size in the current directory
du -h --max-depth=1
check folder size in linux terminal
how to get the size of directory in linux
linux folder size
size of folder linux
sudo du -sh /path/to/folder
check directory size linux
du -sh *
du -sh /directory
du -shx /directory
command to check size of folder in linux
du -lh --max-depth=1 --block-size=M | sort -nr
how to get the folder size in linux
get folder size linux
#This shows you the folder size in human readable format
sudo du -sh /folder
check folders sizes linux
find folder size in linux
Linux folder size
check directory size linux
du -sh *
du -sh /directory
du -shx /directory
folder size in linux
sudo du -sh /var
du -h directory
check total folder size linux
#and this shows all sizes in that directory/folder
ls -lsh
how to get directory size in linux
du -h --max-depth=1 /directory
du -sh *
du -sh /directory
du -shx /directory
how to get directory size in linux
du -a / | sort -n -r | head -n 10
5351116 /
2462616 /usr
2153492 /home
2153472 /home/george
1571924 /usr/lib
linux get folder size
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
get Linux directory size
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)
© 2022 Copyright:
DekGenius.com