Usage And Variation

  1. df -h Presents disk information in a human readable format.
  2. df -l Limits the list of information to local file systems.
  3. df --total Produces a grand total of disk space.

What is the DF command?

Df displays the amount of disk space taken or available on a given file system. When no arguements are given, the command lists the memory status on every mounted file system. This information can be useful when examining how much space is still available on a machine. Arguements for this command can be a specific file system, a specific file or no arguements to show all filesystems.



In the example above, the user issues the command without any arguements or flags. This version of the command shows all mounted filesystems on the machine. The name of the filesystem, where it is mounted, and its memory capacity/usage is displayed for the user to see.

Try it: