Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

shell get size of directory

du -h your_directory
# gives you the size of your target directory.
du -hcs your_directory
# If you want a brief output.
Comment

how to get the size of directory in linux

du -sh /var
Comment

bash see size of directory

# returns the size of all content inside the directory

du -hs /path/to/folder
Comment

how to get directory size in linux

du -h --max-depth=1 /directory
du -sh *
du -sh /directory
du -shx /directory
Comment

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
Comment

PREVIOUS NEXT
Code Example
Shell :: git how to find original branch creator 
Shell :: Load key ".pem": bad permissions 
Shell :: delete all migrations django 
Shell :: python3 install mutagen 
Shell :: start ssh agent windows 10 
Shell :: ssh use other key file 
Shell :: delete conda from machine 
Shell :: watch nvidia smi 
Shell :: git soft reset Head 
Shell :: xdebug ubuntu 
Shell :: how to get the temp of cpu in linux terminal raspberry pi 
Shell :: install zsh auto suggestion 
Shell :: Module Error (from ./node_modules/sass-loader/dist/cjs.js): Node Sass version 6.0.0 is incompatible with ^4.0.0 || ^5.0.0. 
Shell :: certbot apache site 
Shell :: npm does not support Node.js v10.24.0 
Shell :: Start / Restart / Stop Nginx Commands 
Shell :: adb reverse 
Shell :: how to uninstall everything in pip 
Shell :: homebrew install git 
Shell :: install nginx amazon linux 2 
Shell :: how to add windows to grub 2 
Shell :: odd even in shell script 
Shell :: Library not loaded: /opt/homebrew/opt/icu4c/lib/libicui18n.69.dylib 
Shell :: activate git case sensitive windows 
Shell :: install php7.4 curl 
Shell :: create remote git repository 
Shell :: cv2 has no attribute videocapture 
Shell :: rubymine ubuntu 
Shell :: how to remove all commit in git 
Shell :: sklearn 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =