In Unix, how can I display statistics on free disk space?

To display how much disk space is free on mounted file systems in Unix, use the df command. At the Unix prompt, enter:

  df

This is not the same as your quota; rather, this displays how much space is left on the device or devices designated. The output and capabilities of the df command vary depending on which variety of Unix you are using, so consult the man pages for specifics. However, typically, you can see information about all mounted file systems, including total space, used space, and free space.

To output information on a specific device or file system node, you may also specify the device or node, for example:

  df /node_or_dirname

Replace /node_or_dirname with the name of your chosen file system node or mounted directory name.

At Indiana University, for personal or departmental Linux or Unix systems support, see At IU, how do I get support for Linux or Unix?

This is document agfe in the Knowledge Base.
Last modified on 2017-05-16 11:52:29.

  • Fill out this form to submit your issue to the UITS Support Center.
  • Please note that you must be affiliated with Indiana University to receive support.
  • All fields are required.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.

  • Fill out this form to submit your comment to the IU Knowledge Base.
  • If you are affiliated with Indiana University and need help with a computing problem, please use the I need help with a computing problem section above, or contact your campus Support Center.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.