from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

209586

userrating:


May 25th. 2007:
Words

486

Views

258592

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

149883

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





DF

Section: User Commands (1)
Updated: February 2026
Index Return to Main Contents
 

NAME

df - report file system space usage  

SYNOPSIS

df [,OPTION/]... [,FILE/]...  

DESCRIPTION

This manual page documents the GNU version of df. df displays the amount of space available on the file system containing each file name argument. If no file name is given, the space available on all currently mounted file systems is shown. Space is shown in 1K blocks by default, unless the environment variable POSIXLY_CORRECT is set, in which case 512-byte blocks are used.

If an argument is the absolute file name of a device node containing a mounted file system, df shows the space available on that file system rather than on the file system containing the device node. This version of df cannot show the space available on unmounted file systems, because on most kinds of systems doing so requires non-portable intimate knowledge of file system structures.  

OPTIONS

Show information about the file system on which each FILE resides, or all file systems by default.

Mandatory arguments to long options are mandatory for short options too.

X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-a'-a, --allX'tty: link'
include pseudo, duplicate, inaccessible file systems
X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-B'-B, --block-size=,SIZEX'tty: link'/
scale sizes by SIZE before printing them; see SIZE format below; E.g., '-BM' prints sizes in units of 1,048,576 bytes
X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-h'-h, --human-readableX'tty: link'
print sizes in powers of 1024 (e.g., 1023M)
X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-H'-H, --siX'tty: link'
print sizes in powers of 1000 (e.g., 1.1G)
X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-i'-i, --inodesX'tty: link'
list inode information instead of block usage
X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-k'-kX'tty: link'
like --block-size=,1K/
X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-l'-l, --localX'tty: link'
limit listing to local file systems
X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df--no-sync'--no-syncX'tty: link'
do not invoke sync before getting usage info (default)
X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df--output'--output[=FIELD_LIST]X'tty: link'
use the output format defined by FIELD_LIST, or print all fields if FIELD_LIST is omitted
X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-P'-P, --portabilityX'tty: link'
use the POSIX output format
X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df--sync'--syncX'tty: link'
invoke sync before getting usage info
X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df--total'--totalX'tty: link'
elide all entries insignificant to available space, and produce a grand total
X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-t'-t, --type=,TYPEX'tty: link'/
limit listing to file systems of type TYPE
X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-T'-T, --print-typeX'tty: link'
print file system type
X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-x'-x, --exclude-type=,TYPEX'tty: link'/
limit listing to file systems not of type TYPE
X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#df-v'-vX'tty: link'
(ignored)
X'tty: link https://www.gnu.org/software/coreutils/df#df--help'--helpX'tty: link'
display this help and exit
X'tty: link https://www.gnu.org/software/coreutils/df#df--version'--versionX'tty: link'
output version information and exit

Display values are in units of the first available SIZE from --block-size, and the DF_BLOCK_SIZE, BLOCK_SIZE and BLOCKSIZE environment variables. Otherwise, units default to 1024 bytes (or 512 if POSIXLY_CORRECT is set).

The SIZE argument is an integer and optional unit (example: 10K is 10*1024). Units are K,M,G,T,P,E,Z,Y,R,Q (powers of 1024) or KB,MB,... (powers of 1000). Binary prefixes can be used, too: KiB=K, MiB=M, and so on.

FIELD_LIST is a comma-separated list of columns to be included. Valid field names are: 'source', 'fstype', 'itotal', 'iused', 'iavail', 'ipcent', 'size', 'used', 'avail', 'pcent', 'file' and 'target' (see info page).  

AUTHOR

Written by Torbjorn Granlund, David MacKenzie, and Paul Eggert.  

REPORTING BUGS

Report bugs to: bug-coreutils@gnu.org


Report Gentoo bugs to: https://bugs.gentoo.org/
GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
General help using GNU software: <https://www.gnu.org/gethelp/>
Report any translation bugs to <https://translationproject.org/team/>  

SEE ALSO

Full documentation <https://www.gnu.org/software/coreutils/df>
or available locally via: info aq(coreutils) df invocationaq


Packaged by Gentoo (9.10 (p0))
Copyright © 2026 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
AUTHOR
REPORTING BUGS
SEE ALSO





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 14.0 ms