| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1. |
| 2 |
.TH DF "1" "June 2025" "GNU coreutils 9.7" "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 |
\fB\-a\fR, \fB\-\-all\fR |
| 37 |
include pseudo, duplicate, inaccessible file systems |
| 38 |
.TP |
| 39 |
\fB\-B\fR, \fB\-\-block\-size\fR=\fI\,SIZE\/\fR |
| 40 |
scale sizes by SIZE before printing them; e.g., |
| 41 |
\&'\-BM' prints sizes in units of 1,048,576 bytes; |
| 42 |
see SIZE format below |
| 43 |
.TP |
| 44 |
\fB\-h\fR, \fB\-\-human\-readable\fR |
| 45 |
print sizes in powers of 1024 (e.g., 1023M) |
| 46 |
.TP |
| 47 |
\fB\-H\fR, \fB\-\-si\fR |
| 48 |
print sizes in powers of 1000 (e.g., 1.1G) |
| 49 |
.TP |
| 50 |
\fB\-i\fR, \fB\-\-inodes\fR |
| 51 |
list inode information instead of block usage |
| 52 |
.TP |
| 53 |
\fB\-k\fR |
| 54 |
like \fB\-\-block\-size\fR=\fI\,1K\/\fR |
| 55 |
.TP |
| 56 |
\fB\-l\fR, \fB\-\-local\fR |
| 57 |
limit listing to local file systems |
| 58 |
.TP |
| 59 |
\fB\-\-no\-sync\fR |
| 60 |
do not invoke sync before getting usage info (default) |
| 61 |
.TP |
| 62 |
\fB\-\-output\fR[=\fI\,FIELD_LIST\/\fR] |
| 63 |
use the output format defined by FIELD_LIST, |
| 64 |
or print all fields if FIELD_LIST is omitted |
| 65 |
.TP |
| 66 |
\fB\-P\fR, \fB\-\-portability\fR |
| 67 |
use the POSIX output format |
| 68 |
.TP |
| 69 |
\fB\-\-sync\fR |
| 70 |
invoke sync before getting usage info |
| 71 |
.TP |
| 72 |
\fB\-\-total\fR |
| 73 |
elide all entries insignificant to available space, |
| 74 |
and produce a grand total |
| 75 |
.TP |
| 76 |
\fB\-t\fR, \fB\-\-type\fR=\fI\,TYPE\/\fR |
| 77 |
limit listing to file systems of type TYPE |
| 78 |
.TP |
| 79 |
\fB\-T\fR, \fB\-\-print\-type\fR |
| 80 |
print file system type |
| 81 |
.TP |
| 82 |
\fB\-x\fR, \fB\-\-exclude\-type\fR=\fI\,TYPE\/\fR |
| 83 |
limit listing to file systems not of type TYPE |
| 84 |
.TP |
| 85 |
\fB\-v\fR |
| 86 |
(ignored) |
| 87 |
.TP |
| 88 |
\fB\-\-help\fR |
| 89 |
display this help and exit |
| 90 |
.TP |
| 91 |
\fB\-\-version\fR |
| 92 |
output version information and exit |
| 93 |
.PP |
| 94 |
Display values are in units of the first available SIZE from \fB\-\-block\-size\fR, |
| 95 |
and the DF_BLOCK_SIZE, BLOCK_SIZE and BLOCKSIZE environment variables. |
| 96 |
Otherwise, units default to 1024 bytes (or 512 if POSIXLY_CORRECT is set). |
| 97 |
.PP |
| 98 |
The SIZE argument is an integer and optional unit (example: 10K is 10*1024). |
| 99 |
Units are K,M,G,T,P,E,Z,Y,R,Q (powers of 1024) or KB,MB,... (powers of 1000). |
| 100 |
Binary prefixes can be used, too: KiB=K, MiB=M, and so on. |
| 101 |
.PP |
| 102 |
FIELD_LIST is a comma\-separated list of columns to be included. Valid |
| 103 |
field names are: 'source', 'fstype', 'itotal', 'iused', 'iavail', 'ipcent', |
| 104 |
\&'size', 'used', 'avail', 'pcent', 'file' and 'target' (see info page). |
| 105 |
.SH AUTHOR |
| 106 |
Written by Torbjorn Granlund, David MacKenzie, and Paul Eggert. |
| 107 |
.SH "REPORTING BUGS" |
| 108 |
GNU coreutils online help: <https://www.gnu.org/software/coreutils/> |
| 109 |
.br |
| 110 |
Report any translation bugs to <https://translationproject.org/team/> |
| 111 |
.SH "SEE ALSO" |
| 112 |
Full documentation <https://www.gnu.org/software/coreutils/df> |
| 113 |
.br |
| 114 |
or available locally via: info \(aq(coreutils) df invocation\(aq |
| 115 |
.PP |
| 116 |
.br |
| 117 |
Packaged by Debian (9.7\-3) |
| 118 |
.br |
| 119 |
Copyright \(co 2025 Free Software Foundation, Inc. |
| 120 |
.br |
| 121 |
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. |
| 122 |
.br |
| 123 |
This is free software: you are free to change and redistribute it. |
| 124 |
.br |
| 125 |
There is NO WARRANTY, to the extent permitted by law. |