Linux DF command - The 3 most used options

User Avatar
πŸ‘€ admin
πŸ”΄ Admin
✍️ The most important thing in the world is to not be alone.
⏳ Last active: 15 Apr 2025 at 16:01
πŸ“… Created: 25 Apr 2021 at 07:05
πŸ‘€ Viewed: 18 times
βœ‰οΈ Send Email

This article will help you to understand what is the use of DF command in Linux and how to use DF command with multiple options. The DF (Disk Free) command is a built in utility to find the available and the disk usage space on Linux servers/storage. This command is used by all the System Administrators, as it is one of their main tasks to monitor the server/storage space. This tutorial will help you how to use DF command in Linux with options and examples. All the below examples are tested on Ubuntu 20.04 LTS.

When working with the command in terminal, please write the command in lowercase letters (small letters) in order to work with the command properly.

Here is the default check for details of disk space used in each file system:


# Default check of disk space in each file system 
df

Image

01 - Here is How to check the disk space in Human-Readable format:


# Using df with a human readable format

df -h

Image

02 - Here is How to sum up the total of the disk space usage:


# How to sum up the total disk space usage

df -h –total

Image

03 - Here is How to exclude a particular file system type:


# Exclude a particular file system type

df -x tmpfs

Image

Here is a quick video review:

https://youtu.be/uEL91R1PPvg

We hope you enjoyed this article. if that is so please rate this page with the stars bellow and subscribe to our YouTube channel.

If you want to comment: Login or Register