What does df do?

report free space on mounted filesystems.

▸ Explain your own df command →

df examples, explained

$ df -h

  • dfreport free space on mounted filesystems
  • -hhuman-readable sizes (K, M, G)

$ df -T -i

  • dfreport free space on mounted filesystems
  • -Talso show each filesystem's type
  • -ireport inode usage instead of block usage

df flags & options

-hhuman-readable sizes (K, M, G)
-Talso show each filesystem's type
-ireport inode usage instead of block usage

Other commands

Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.