IT Toolbox
Menu
Linux · Storage

Show disk space and filesystems on Linux

Shows mounted filesystems with total size, used space, available space, and utilization percentage.

Low risk

Command

df -hT --exclude-type=tmpfs --exclude-type=devtmpfs

When to use it

Use this as a first check when a Linux server can no longer write files, logs, or package updates.

How it works

  • -h displays human-readable sizes.
  • -T adds the filesystem type.
  • Temporary filesystems are excluded to keep the output easier to read.

Precautions

  • A full disk may require identifying the root cause before deleting anything.

Rollback

Read-only operation.

Support the development of BAOI Hosting, domains and new IT resources.
❤️ Support BAOI