Display statistics on free disk space in Unix

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 Get help for Linux or Unix at IU.

This is document agfe in the Knowledge Base.
Last modified on 2023-07-12 11:28:50.