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

how to check whats using my space linux

sudo ncdu 

Reference:
https://www.cyberciti.biz/open-source/install-ncdu-on-linux-unix-ncurses-disk-usage/
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 :: delete all files in a directory command 
Shell :: platformio install arduino lib 
Shell :: pushing code with another github account 
Shell :: push-github-project 
Shell :: how to run code from github 
Shell :: kubeadm get discovery-token-ca-cert-hash command openssl 
Shell :: nginx block post files 
Shell :: linux list files in txt 
Shell :: git merge branch to master 
Shell :: aws cli on heroku 
Shell :: how to disable browser autofill in Autocomplete mui component 
Shell :: commit changes from different branches 
Shell :: install drush on ubuntu 
Shell :: how to check requirements.txt was installed correctly 
Shell :: how to delete all pods in kubernetes 
Shell :: install aptitude ubuntu 20.04 
Shell :: This repository has moved 
Shell :: view file in terminal 
Shell :: remove directory and contents linux 
Shell :: how to convert back to JSON in powershell 
Shell :: take sudo access inside vim 
Shell :: bash add comma to end of line 
Shell :: homebrew without sudo 
Shell :: bin bash date save file 
Shell :: bash store script output in variable 
Shell :: install composer phar 
Shell :: github config 
Shell :: ssh 
Shell :: list file sizes 
Shell :: mkdir creating multiple containing folders 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =