As with all commands in this series, df must be run from the command line in a terminal window (such as aterm, gnome-terminal, or konsole). When you issue the df command the information reported comes in this form:
<fs name>, <total space>, <space used>, <space free>, <percentage used>, <fs root>
Now df used to report information in byte-units. Back then you could issue df using the -h argument to get information in a more human-readable format (in Mb). Modern implementations of df have the -h argument set by default so issuing df is actually run as df -h.
Output of df will look like this:
[jlwallen@localhost ~]$ df
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 7.7G 5.1G 2.3G 70% /
/dev/sda6 44G 15G 29G 34% /home
The above is showing that on my primary usage partition (/dev/sda6 mounted on /home) I have used only 34% of the available space (29G available to me). This is also reporting that on /dev/sda1 (mounted on /) I have only 2.3 GB available. That is OK but I would want to be careful not to install a lot of applications in such directories as /opt. Nor would I want to create a data directory such as /backup to store backups in (I would soon run out of room.)