Linux checks disk space command "df" :

On the web, you can find many varieties of tools to check the utilization of the disk space in the Linux. However, it has a long durable utility built inside commonly known as ‘df’. Mainly the ‘df’ command stands for the Disk filesystem. It is mainly required to take the complete conclusion of the availability and the disk space which is used in the file system of the Linux.


If you use ‘h’ parameter within the DF-h it will show you the complete file system and the disk space statistics easily in a format which is human readable. It means it will give you the information in the bytes, megabytes, and the gigabytes format. This article explains a good way to get all information on the Linux disk space usage mainly with the help of ‘df’ command with some of their practical examples.

Examples of 'df' command:

Check the file system disk space usage:

The main function of the ‘df’ command is that it displays the information on the device name, total disk space, total blocks, available disk space, used disk space and mount points of a file system.

Displays all information about the file system disk space usage:

This is also same as above, but the main function of this is that it also displays information of the dummy file systems which is along with the all file system disk usage space and also along with their memory utilization.

Show disk space in the human readable format:

Have you ever noticed that it displays command information in the bytes which is not readable yet at all because you are not in a habit of reading the sizes in the gigabytes and megabytes etc. To solve this problem, the DF command gives the option to display sizes in the human readable formats by the using of ‘h’, which prints the results in human readable format.
Author
Jaishree
Views
2,368
First release
Last update
Rating
0.00 star(s) 0 ratings
Top