Show mounted filesystems, types and readable capacity.
df -hTShow available and used disk space for mounted filesystems.
df [OPTION]... [FILE]...Show mounted filesystems, types and readable capacity.
df -hTCheck inode usage for the filesystem containing /var.
df -i /var| Option / clause | Description |
|---|---|
-h, --human-readable | Show sizes in powers of 1024 with readable units. |
-H, --si | Show sizes in powers of 1000. |
-T, --print-type | Include filesystem type. |
-i, --inodes | Show inode usage instead of block usage. |
-P, --portability | Use the POSIX output format. |
--total | Display a grand total where applicable. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.