Disk Space Checking
Free Disk Space Checking in Linux
df displays the amount of disk space available on the file system containing each file name argument. If no file name is given, the space available on all currently mounted file systems is shown. Disk space is shown in 1K blocks by default, unless the environment variable POSIXLY_CORRECT is set, in which case 512-byte blocks are used.
If an argument is the absolute file name of a disk device node containing a mounted file system, df shows the space available on that file system rather than on the file system containing the device node (which is always the root file system). This version of df cannot show the space available on unmounted file systems, because on most kinds of systems doing so requires very non portable intimate knowledge of file system structures.
Now Open a new terminal window and type in the command df
[dwmoar@workbox ~]$ df Filesystem Size Used Avail Use% Mounted on /dev/sda5 20G 5.4G 14G 29% / /dev/sda7 111G 45G 67G 41% /home /dev/sdb1 111G 58G 47G 56% /mnt/backups /dev/sda6 50G 583M 47G 2% /var
or try this command to show the filesystem type: df-Th
[dwmoar@workbox ~]$ df -Th Filesystem Type Size Used Avail Use% Mounted on /dev/sda5 ext3 20G 5.4G 14G 29% / /dev/sda7 ext3 111G 45G 67G 41% /home /dev/sdb1 ext3 111G 58G 47G 56% /mnt/backups /dev/sda6 ext3 50G 583M 47G 2% /var
For more information on using the df command use the following: df --help