Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to check folder size in linux

# show all folder size in the current directory
du -h --max-depth=1
Comment

show directory size linux

du -sh /home/george
2.1G    /home/george
Comment

linux folder size

du -sh folder
Comment

check directory size linux

du -sh *
du -sh /directory
du -shx /directory 
Comment

how to get the folder size in linux

du -sh folder/ 
Comment

get folder size linux

#This shows you the folder size in human readable format

sudo du -sh /folder
Comment

check folders sizes linux

du -sh -- *
Comment

find folder size in linux

df -sh .
Comment

Linux folder size

du -sh /* | sort -h
Comment

check directory size linux

du -sh *
du -sh /directory
du -shx /directory 
Comment

check total folder size linux

#and this shows all sizes in that directory/folder
ls -lsh
Comment

how to check directory size in linux

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

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
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

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)
Comment

PREVIOUS NEXT
Code Example
Shell :: cmd code for downloading git in windows 
Shell :: react native Could not find "Podfile.lock" at 
Shell :: install three.js 
Shell :: git clean local remote branch 
Shell :: How to check if a string is null or empty in PowerShell? 
Shell :: composer install drupal drush 
Shell :: nuget install location 
Shell :: Unable to resolve module ./theming/DarkTheme from 
Shell :: how to install gnome user theme extension 
Shell :: node upgrade mac os x 
Shell :: Ports are not available: listen tcp 0.0.0.0/50070: bind: An attempt was made to access a socket in a way forbidden by its access permissions 
Shell :: spacevim install 
Shell :: how to check what version of cmake installed 
Shell :: linux count number of files in directory and subdirectory 
Shell :: pod install mac m1 
Shell :: decompress tar.gz 
Shell :: check if virtualbox is installed ubuntu 
Shell :: autoclicker linux 
Shell :: embed photos google drive 
Shell :: get connected wifi password 
Shell :: bash curl forecast 
Shell :: installing dolphin on ubuntu 
Shell :: docker exec as root 
Shell :: fatal: index file corrupt 
Shell :: install kivy pip 
Shell :: git switch user 
Shell :: mac anydesk start at login 
Shell :: install packages from selected repo yum 
Shell :: python venv windows 
Shell :: unix print environment variable 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =