du -h --max-depth=1
df -hia
or
df -h
lsblk -f
fdisk -l
parted -l
df -kh
[OR]
df -H
df -a
df -hi
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.
sudo du -sh /var
Copy
du -h --max-depth=1 /var/lib/docker/containers/
du -sh /var/lib/docker/containers/