← Disk & Filesystem
Linux · Disk & Filesystem
How to check disk space usage in Linux
Check free and used disk space per filesystem with df -h, add the type with df -hT, and check inode usage with df -i.
Check how much space each mounted filesystem is using. df -h is the everyday form; -T adds the filesystem type.
# Human-readable space per filesystem
df -h
# Include the filesystem type
df -hT
# A single mount point
df -h /u01
# Inodes instead of bytes
df -iLinuxdfDisk Space