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:


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 2018-11-28 12:07:18.

Contact us

For help or to comment, email the UITS Support Center.