Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to check hard disk space linux

df -hia
or
df -h
Comment

linux see remaining disk space

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 :: install firewall-cmd centos 7 
Shell :: install react native navigation 
Shell :: install perl linux 
Shell :: hello world bash 
Shell :: install yarn on ec2 instance 
Shell :: linux download youtube mp3 
Shell :: how to extract tgz file in linux 
Shell :: see disk info linux 
Shell :: hdfs remove directory 
Shell :: Warning in install.packages : installation of package ‘tidyverse’ had non-zero exit status 
Shell :: git remove commit 
Shell :: install jq on ubunut 
Shell :: if argument exists bash 
Shell :: install rspec globally vscode 
Shell :: is firewall running centos 7 
Shell :: kill nohup process 
Shell :: pip install django-heroku error 
Shell :: get remote IP of wsl ubuntu 
Shell :: kill process for port 
Shell :: ImportError: lxml not found, please install it 
Shell :: process runninng on particular port 
Shell :: git clone --recurse-submodules 
Shell :: rpi make executable 
Shell :: uninstall genymotion from ubuntu 
Shell :: install teamviewer linux mint 
Shell :: obs download ubuntu 
Shell :: install gdal ubuntu 
Shell :: how to clean up all docker containers 
Shell :: split text file into multiple files bash 
Shell :: install transmission ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =