This will give you something like this:
Posted: Sat Apr 05, 2025 4:35 am
Just press df to see disk information
The basic and simple "df" command will list a complete list of file systems in your Linux installation. We'll probably need a whole article to explain what a filesystem is, but for now, let's assume this is a way to organize some of the files on your system.
.
This information will probably not be the best in terms of readability, so let's take a look at the best version.
A human-readable version of "df -h"
To get a "human-readable" version of the c level executive list output (which is what "h" stands for), you must run "df -h".
df -h
.
As you can see, it lists file systems and uses gigabyte and megabyte units to represent space, which is much easier to understand and work with.
List types for each filesystem
It would be helpful to list the filesystems with the appropriate filesystem type for each. For this you can use the "-T" option:
df -T
.
Check free disk space on Linux using the df command
Sometimes you want to know how much disk space is available for a particular folder on your system in the filesystem that folder is located in, so you can find out simply by using "df" with the folder you want to know about.
The basic and simple "df" command will list a complete list of file systems in your Linux installation. We'll probably need a whole article to explain what a filesystem is, but for now, let's assume this is a way to organize some of the files on your system.
.
This information will probably not be the best in terms of readability, so let's take a look at the best version.
A human-readable version of "df -h"
To get a "human-readable" version of the c level executive list output (which is what "h" stands for), you must run "df -h".
df -h
.
As you can see, it lists file systems and uses gigabyte and megabyte units to represent space, which is much easier to understand and work with.
List types for each filesystem
It would be helpful to list the filesystems with the appropriate filesystem type for each. For this you can use the "-T" option:
df -T
.
Check free disk space on Linux using the df command
Sometimes you want to know how much disk space is available for a particular folder on your system in the filesystem that folder is located in, so you can find out simply by using "df" with the folder you want to know about.