| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1. |
| 2 |
.TH DF "1" "February 2026" "GNU coreutils 9.10" "User Commands" |
| 3 |
.SH NAME |
| 4 |
df \- report file system space usage |
| 5 |
.SH SYNOPSIS |
| 6 |
.B df |
| 7 |
[\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]... |
| 8 |
.SH DESCRIPTION |
| 9 |
This manual page |
| 10 |
documents the GNU version of |
| 11 |
.BR df . |
| 12 |
.B df |
| 13 |
displays the amount of space available on the file system |
| 14 |
containing each file name argument. If no file name is given, the |
| 15 |
space available on all currently mounted file systems is shown. |
| 16 |
Space is shown in 1K blocks by default, unless the environment |
| 17 |
variable POSIXLY_CORRECT is set, in which case 512-byte blocks are |
| 18 |
used. |
| 19 |
.PP |
| 20 |
If an argument is the absolute file name of a device node containing a |
| 21 |
mounted file system, |
| 22 |
.B df |
| 23 |
shows the space available on that file system rather than on the |
| 24 |
file system containing the device node. This version of |
| 25 |
.B df |
| 26 |
cannot show the space available on unmounted file systems, because on |
| 27 |
most kinds of systems doing so requires non-portable intimate |
| 28 |
knowledge of file system structures. |
| 29 |
.SH OPTIONS |
| 30 |
.PP |
| 31 |
Show information about the file system on which each FILE resides, |
| 32 |
or all file systems by default. |
| 33 |
.PP |
| 34 |
Mandatory arguments to long options are mandatory for short options too. |
| 35 |
.TP |
| 36 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-a'\fB\-a, \-\-all\fP\X'tty: link' |
| 37 |
include pseudo, duplicate, inaccessible file systems |
| 38 |
.TP |
| 39 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-B'\fB\-B, \-\-block\-size=\,SIZE\fP\X'tty: link'\/\fR |
| 40 |
scale sizes by SIZE before printing them; see SIZE format below; |
| 41 |
E.g., '\-BM' prints sizes in units of 1,048,576 bytes |
| 42 |
.TP |
| 43 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-h'\fB\-h, \-\-human\-readable\fP\X'tty: link' |
| 44 |
print sizes in powers of 1024 (e.g., 1023M) |
| 45 |
.TP |
| 46 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-H'\fB\-H, \-\-si\fP\X'tty: link' |
| 47 |
print sizes in powers of 1000 (e.g., 1.1G) |
| 48 |
.TP |
| 49 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-i'\fB\-i, \-\-inodes\fP\X'tty: link' |
| 50 |
list inode information instead of block usage |
| 51 |
.TP |
| 52 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-k'\fB\-k\fP\X'tty: link' |
| 53 |
like \fB\-\-block\-size\fR=\fI\,1K\/\fR |
| 54 |
.TP |
| 55 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-l'\fB\-l, \-\-local\fP\X'tty: link' |
| 56 |
limit listing to local file systems |
| 57 |
.TP |
| 58 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df--no-sync'\fB\-\-no\-sync\fP\X'tty: link' |
| 59 |
do not invoke sync before getting usage info (default) |
| 60 |
.TP |
| 61 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df--output'\fB\-\-output[=FIELD_LIST]\fP\X'tty: link' |
| 62 |
use the output format defined by FIELD_LIST, |
| 63 |
or print all fields if FIELD_LIST is omitted |
| 64 |
.TP |
| 65 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-P'\fB\-P, \-\-portability\fP\X'tty: link' |
| 66 |
use the POSIX output format |
| 67 |
.TP |
| 68 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df--sync'\fB\-\-sync\fP\X'tty: link' |
| 69 |
invoke sync before getting usage info |
| 70 |
.TP |
| 71 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df--total'\fB\-\-total\fP\X'tty: link' |
| 72 |
elide all entries insignificant to available space, |
| 73 |
and produce a grand total |
| 74 |
.TP |
| 75 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-t'\fB\-t, \-\-type=\,TYPE\fP\X'tty: link'\/\fR |
| 76 |
limit listing to file systems of type TYPE |
| 77 |
.TP |
| 78 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-T'\fB\-T, \-\-print\-type\fP\X'tty: link' |
| 79 |
print file system type |
| 80 |
.TP |
| 81 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-x'\fB\-x, \-\-exclude\-type=\,TYPE\fP\X'tty: link'\/\fR |
| 82 |
limit listing to file systems not of type TYPE |
| 83 |
.TP |
| 84 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-v'\fB\-v\fP\X'tty: link' |
| 85 |
(ignored) |
| 86 |
.TP |
| 87 |
\X'tty: link https://www.gnu.org/software/coreutils/df#df--help'\fB\-\-help\fP\X'tty: link' |
| 88 |
display this help and exit |
| 89 |
.TP |
| 90 |
\X'tty: link https://www.gnu.org/software/coreutils/df#df--version'\fB\-\-version\fP\X'tty: link' |
| 91 |
output version information and exit |
| 92 |
.PP |
| 93 |
Display values are in units of the first available SIZE from \fB\-\-block\-size\fR, |
| 94 |
and the DF_BLOCK_SIZE, BLOCK_SIZE and BLOCKSIZE environment variables. |
| 95 |
Otherwise, units default to 1024 bytes (or 512 if POSIXLY_CORRECT is set). |
| 96 |
.PP |
| 97 |
The SIZE argument is an integer and optional unit (example: 10K is 10*1024). |
| 98 |
Units are K,M,G,T,P,E,Z,Y,R,Q (powers of 1024) or KB,MB,... (powers of 1000). |
| 99 |
Binary prefixes can be used, too: KiB=K, MiB=M, and so on. |
| 100 |
.PP |
| 101 |
FIELD_LIST is a comma\-separated list of columns to be included. Valid |
| 102 |
field names are: 'source', 'fstype', 'itotal', 'iused', 'iavail', 'ipcent', |
| 103 |
\&'size', 'used', 'avail', 'pcent', 'file' and 'target' (see info page). |
| 104 |
.SH AUTHOR |
| 105 |
Written by Torbjorn Granlund, David MacKenzie, and Paul Eggert. |
| 106 |
.SH "REPORTING BUGS" |
| 107 |
Report bugs to: bug\[email protected] |
| 108 |
.br |
| 109 |
GNU coreutils home page: <https://www.gnu.org/software/coreutils/> |
| 110 |
.br |
| 111 |
General help using GNU software: <https://www.gnu.org/gethelp/> |
| 112 |
.br |
| 113 |
Report any translation bugs to <https://translationproject.org/team/> |
| 114 |
.SH "SEE ALSO" |
| 115 |
Full documentation <https://www.gnu.org/software/coreutils/df> |
| 116 |
.br |
| 117 |
or available locally via: info \(aq(coreutils) df invocation\(aq |
| 118 |
.PP |
| 119 |
.br |
| 120 |
Packaged by Debian (9.10\-1) |
| 121 |
.br |
| 122 |
Copyright \(co 2026 Free Software Foundation, Inc. |
| 123 |
.br |
| 124 |
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. |
| 125 |
.br |
| 126 |
This is free software: you are free to change and redistribute it. |
| 127 |
.br |
| 128 |
There is NO WARRANTY, to the extent permitted by law. |