1DF(1) User Commands DF(1)
2
3
4
6 df - report file system disk space usage
7
9 df [OPTION]... [FILE]...
10
12 This manual page documents the GNU version of df. df displays the
13 amount of disk space available on the file system containing each file
14 name argument. If no file name is given, the space available on all
15 currently mounted file systems is shown. Disk space is shown in 1K
16 blocks by default, unless the environment variable POSIXLY_CORRECT is
17 set, in which case 512-byte blocks are used.
18
19 If an argument is the absolute file name of a disk device node contain‐
20 ing a mounted file system, df shows the space available on that file
21 system rather than on the file system containing the device node. This
22 version of df cannot show the space available on unmounted file sys‐
23 tems, because on most kinds of systems doing so requires very non‐
24 portable intimate knowledge of file system structures.
25
27 Show information about the file system on which each FILE resides, or
28 all file systems by default.
29
30 Mandatory arguments to long options are mandatory for short options
31 too.
32
33 -a, --all
34 include pseudo, duplicate, inaccessible file systems
35
36 -B, --block-size=SIZE
37 scale sizes by SIZE before printing them; e.g., '-BM' prints
38 sizes in units of 1,048,576 bytes; see SIZE format below
39
40 --direct
41 show statistics for a file instead of mount point
42
43 --total
44 produce a grand total
45
46 -h, --human-readable
47 print sizes in human readable format (e.g., 1K 234M 2G)
48
49 -H, --si
50 likewise, but use powers of 1000 not 1024
51
52 -i, --inodes
53 list inode information instead of block usage
54
55 -k like --block-size=1K
56
57 -l, --local
58 limit listing to local file systems
59
60 --no-sync
61 do not invoke sync before getting usage info (default)
62
63 --output[=FIELD_LIST]
64 use the output format defined by FIELD_LIST, or print all fields
65 if FIELD_LIST is omitted.
66
67 -P, --portability
68 use the POSIX output format
69
70 --sync invoke sync before getting usage info
71
72 -t, --type=TYPE
73 limit listing to file systems of type TYPE
74
75 -T, --print-type
76 print file system type
77
78 -x, --exclude-type=TYPE
79 limit listing to file systems not of type TYPE
80
81 -v (ignored)
82
83 --help display this help and exit
84
85 --version
86 output version information and exit
87
88 Display values are in units of the first available SIZE from
89 --block-size, and the DF_BLOCK_SIZE, BLOCK_SIZE and BLOCKSIZE environ‐
90 ment variables. Otherwise, units default to 1024 bytes (or 512 if
91 POSIXLY_CORRECT is set).
92
93 SIZE is an integer and optional unit (example: 10M is 10*1024*1024).
94 Units are K, M, G, T, P, E, Z, Y (powers of 1024) or KB, MB, ... (pow‐
95 ers of 1000).
96
97 FIELD_LIST is a comma-separated list of columns to be included. Valid
98 field names are: 'source', 'fstype', 'itotal', 'iused', 'iavail',
99 'ipcent', 'size', 'used', 'avail', 'pcent', 'file' and 'target' (see
100 info page).
101
102 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
103 Report df translation bugs to <http://translationproject.org/team/>
104
106 Written by Torbjorn Granlund, David MacKenzie, and Paul Eggert.
107
109 Copyright © 2013 Free Software Foundation, Inc. License GPLv3+: GNU
110 GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
111 This is free software: you are free to change and redistribute it.
112 There is NO WARRANTY, to the extent permitted by law.
113
115 The full documentation for df is maintained as a Texinfo manual. If
116 the info and df programs are properly installed at your site, the com‐
117 mand
118
119 info coreutils 'df invocation'
120
121 should give you access to the complete manual.
122
123
124
125GNU coreutils 8.22 October 2018 DF(1)