Home » Linux » Useful 9 (df) Linux Commands to Check Disk Space

Useful 9 (df) Linux Commands to Check Disk Space

In this article, we going to see how to check disk space using Linux commands, Here we have the various method and in online we have a lot of tools for checking disk space utilization in Linux. In Linux we have built-in service called “df” this command stands for “disk filesystem“, this is useful to get full detailed empty disk space and used disk space of the Linux system files.

This section explains a method to get the full information of Linux disk space usage with the help of “df” command. Hence, you could entirely understand the usage of “df” Linux command.

1. Display Usage of File System Disk Space

Following this “df” command displays the information of blocks, disk used space, disk available space and mounted on a file system.

2. Display the Detailed Usage of all File System Disk Space

Using “df -a” command we display the detailed information about all the file system disk usage including dummy file systems along with their memory usage also.

3. Display the Disk space usage in Human Readable Format

We all understand the sizes in the format like megabytes, gigabytes, terabyte, etc. But in above all commands we can’t see in the Human Readable format. Using the “df -h” command will helpful to display sizes in Human Readable formats like 50K 50M, 50G.

4. Display the File System in Bytes Format

Following this command “df -k” we display the file system information and usage in 1024-byte blocks.

5. Display the File System in MegaByte (MB) Format

Following this command “df -m” we display the file system usage in MegaByte (MB) format.

6. Display /home File System Device Information

Using this “df -h /home” command we can display only /home file system device information in Human Readable format.

7. Display the File System Inodes

In this, we can see the file system used inodes and their percentage using “df -i” command.

8. Display the Detailed Information About File System Type

It is easy to see the system file type of your system along with other details above previous commands, not displayed information about system file type using “df -T” we can able to see the file type.

9. Display Options & Help Using “df –help” Command

Using “df –help” we can display available options in “df” command.

Was this article helpful?

Yes No

How can we improve it?


We appreciate your helpul feedback!

Your answer will be used to improve our content. The more feedback you give us, the better our pages can be.

Follow us on social media:

Facebook Pinterest


Creative Designer & Developer specialist by the spirit and a loving blogger by thoughts.

Leave a Reply

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

Back to top