Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux check used space in folder

du -h --max-depth=1
Comment

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 :: Cannot find cairo.h! Please install cairo 
Shell :: docker up frce recreate 
Shell :: github git init main 
Shell :: install trading view on linux 
Shell :: omv install script 
Shell :: prettier-plugin-tailwindcss 
Shell :: android sdk ubuntu 
Shell :: how to configure git and github 
Shell :: ssh copy folder 
Shell :: show ip addr linux 
Shell :: read string by string in file in linux 
Shell :: git stash one file 
Shell :: ash if statment 
Shell :: powershell replace and rename file name 
Shell :: command to add a user to a group 
Shell :: tcpdump listen url 
Shell :: ping to my localhost in windows 
Shell :: how to update ubuntu from terminal 
Shell :: enable apache2 site 
Shell :: how to stash specific file in git with message 
Shell :: how to upgrade npm in ubuntu 
Shell :: install mpg321 
Shell :: copy files between servers 
Shell :: linux append to file 
Shell :: mysql2 install error ruby 
Shell :: install netstat windows server 
Shell :: tar command 
Shell :: powershell convert to json 
Shell :: new branch from existing branch 
Shell :: force remove a hidden folder in linux 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =