ODOC: df

df — Disk Free and Usage report


df command display the amount of disk space available on the FileSystem (FS) containing each file name argument. If no file name is given, the space available on all currently mounted Filesystems are shown.

Examples :-

$ df — Usage report of all mounted FS.

$ df myfile — Display usage report of FS which contain

the myfile.

$ df /home — Usage report of Home partition

$ df /dev/hda1 — Usage report of /dev/hda1

$ df -Th — Display the partition type and size is in human

readable format

$ df -x tmpfs — Don’t list the ‘tmpfs’ partitions.

$ df -P — Output in POSIX format. (Remove -P and see the


Read: man df

Tech Tags: linux