O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

df

Displays disk space usage

df [options] [filesystem-list]

The df (disk free) utility reports on total and free space on each mounted device. By default, the report is in terms of 1-kilobyte blocks.

Arguments

When you call df without an argument, it reports on the free space on each of the currently mounted devices.

The filesystem-list is an optional list of one or more pathnames that specify the filesystems you want a report on. The df utility permits you to refer to a mounted filesystem by its device pathname or by the pathname of the directory it is mounted on.

Options

--type=fstype

-t fstype Reports information only about the filesystems of type fstype, such as DOS or NFS.

--inodes

-i Reports the number of inodes that are used and free ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required