How to Check Available Disk Space in Linux

The df (Disk Free) command provides a quick overview of all mounted filesystems and their free space.

Using df

  1. Open your terminal.
  2. Type df -h and press Enter.
  3. The -h flag makes the output “human-readable,” displaying sizes in Gigabytes (G) or Megabytes (M) instead of raw blocks.
  4. Look at the “Avail” column to see your free space.

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.

Receive our best articles and tips delivered straight to your inbox.