Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to check hard disk space linux

df -hia
or
df -h
Comment

check disk space linux

lsblk -f
fdisk -l
parted -l
Comment

how to check disk space in linux

df -kh
[OR]
df -H
Comment

check disk space linux

df -a
Comment

check disk space linux

df -hi
Comment

check disk space linux

df -h shows disk space in human-readable format
df -a shows the file system’s complete disk usage even if the Available field is 0
df -T shows the disk usage along with each block’s filesystem type (e.g., xfs, ext2, ext3, btrfs, etc.)
df -i shows used and free inodes
df -t, –type=TYPE : limit listing to file systems of type TYPE
df – check disk space
du – check disk space for file or directory
df is a standard Linux command used to display the amount of available disk space for file systems.
du is a standard Linux command used to estimate file space usage—space used under a particular directory or files on a file system. The du command summarizes disk space used for each FILE and/or directory.
Comment

check disk space folders linux

sudo du -sh /var
Copy
Comment

check disk space linux

du -h --max-depth=1 /var/lib/docker/containers/
du -sh /var/lib/docker/containers/
Comment

PREVIOUS NEXT
Code Example
Shell :: brew install ngrok 
Shell :: npm dev dependencies 
Shell :: bash colors 
Shell :: bash add text to the beginning or end of every line 
Shell :: how to see wifi password in command prompt 
Shell :: git commit amend without changing message 
Shell :: install en_web_core md 
Shell :: how to open bash_profile 
Shell :: install teams linux 
Shell :: process substitution <() bash 
Shell :: chocolatey version 
Shell :: elementary-tweaks 
Shell :: ffmpeg trim video 
Shell :: fatal: unable to access 
Shell :: rar unrar mac 
Shell :: Library not loaded: /opt/homebrew/opt/icu4c/lib/libicui18n.69.dylib 
Shell :: install using dpkg 
Shell :: installing SQLite3 on ubuntu 20.04 
Shell :: remove junk files from ubuntu via terminal 
Shell :: set remote url git 
Shell :: set alias in ubuntu 
Shell :: ghostscript on ubuntu 
Shell :: brew install xampp 
Shell :: install atom ubuntu terminal 
Shell :: python install scikit learn 
Shell :: ubuntu get pid of process 
Shell :: fedora install snapd 
Shell :: install nodemon typescritp 
Shell :: download chrome command line kali linux 
Shell :: git commit number of lines changed 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =