{
    "content": [
        {
            "type": "text",
            "text": "# df(1) (man)\n\n## TLDR\n\n> Display an overview of the filesystem disk space usage.\n\n- Display all filesystems and their disk usage (using 512-byte units):\n  `df`\n- Display the filesystem containing the specified file or directory:\n  `df {{path/to/file_or_directory}}`\n- Use [k]ibibyte (1024 byte) units when showing size figures:\n  `df -k`\n- Display information in a portable way:\n  `df -P`\n\n*Source: tldr-pages*\n\n---\n\n**Summary:** df - report file system disk space usage\n\n**Synopsis:** df [OPTION]... [FILE]...\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -a | --all | — | include pseudo, duplicate, inaccessible file systems |\n| -B | --block-size | — | scale sizes by SIZE before printing them; e.g., '-BM' prints sizes in units of 1,048,576 bytes; see SIZE format below |\n| -h | --human-readable | — | print sizes in powers of 1024 (e.g., 1023M) |\n| -H | --si | — | print sizes in powers of 1000 (e.g., 1.1G) |\n| -i | --inodes | — | list inode information instead of block usage |\n| -k | --block-size | — |  |\n| -l | --local | — | limit listing to local file systems |\n| — | --no-sync | — | do not invoke sync before getting usage info (default) --output[=FIELDLIST] use the output format defined by FIELDLIST,  |\n| -P | --portability | — | use the POSIX output format --sync invoke sync before getting usage info |\n| — | --total | — | elide all entries insignificant to available space, and produce a grand total |\n| -t | --type | — | limit listing to file systems of type TYPE |\n| -T | --print-type | — | print file system type |\n| -x | --exclude-type | — | limit listing to file systems not of type TYPE |\n| -v | — | — | --help display this help and exit |\n| — | --version | — | output version information and exit Display values are in units of the first available SIZE from --block-size, and the D |\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (12 lines)\n- **OPTIONS** (5 lines) — 15 subsections\n  - -a --all (2 lines)\n  - -B --block-size (3 lines)\n  - -h --human-readable (2 lines)\n  - -H --si (2 lines)\n  - -i --inodes (2 lines)\n  - -k --block-size (1 lines)\n  - -l --local (2 lines)\n  - --no-sync (6 lines)\n  - -P --portability (4 lines)\n  - --total (2 lines)\n  - -t --type (2 lines)\n  - -T --print-type (2 lines)\n  - -x --exclude-type (2 lines)\n  - -v     (ignored) (2 lines)\n  - --version (14 lines)\n- **AUTHOR** (2 lines)\n- **REPORTING BUGS** (3 lines)\n- **COPYRIGHT** (5 lines)\n- **SEE ALSO** (6 lines)\n\n## Full Content\n\n### NAME\n\ndf - report file system disk space usage\n\n### SYNOPSIS\n\ndf [OPTION]... [FILE]...\n\n### DESCRIPTION\n\nThis  manual  page  documents  the  GNU  version of df.  df displays the amount of disk space\navailable on the file system containing each file name argument.  If no file name  is  given,\nthe  space  available on all currently mounted file systems is shown.  Disk space is shown in\n1K blocks by default, unless the environment variable POSIXLYCORRECT is set, in  which  case\n512-byte blocks are used.\n\nIf an argument is the absolute file name of a disk device node containing a mounted file sys‐\ntem, df shows the space available on that file system rather than on the file system contain‐\ning  the  device  node.  This version of df cannot show the space available on unmounted file\nsystems, because on most kinds of systems doing so requires very nonportable intimate  knowl‐\nedge of file system structures.\n\n### OPTIONS\n\nShow information about the file system on which each FILE resides, or all file systems by de‐\nfault.\n\nMandatory arguments to long options are mandatory for short options too.\n\n#### -a --all\n\ninclude pseudo, duplicate, inaccessible file systems\n\n#### -B --block-size\n\nscale sizes by SIZE before printing  them;  e.g.,  '-BM'  prints  sizes  in  units  of\n1,048,576 bytes; see SIZE format below\n\n#### -h --human-readable\n\nprint sizes in powers of 1024 (e.g., 1023M)\n\n#### -H --si\n\nprint sizes in powers of 1000 (e.g., 1.1G)\n\n#### -i --inodes\n\nlist inode information instead of block usage\n\n#### -k --block-size\n\n#### -l --local\n\nlimit listing to local file systems\n\n#### --no-sync\n\ndo not invoke sync before getting usage info (default)\n\n--output[=FIELDLIST]\nuse  the  output  format  defined  by FIELDLIST, or print all fields if FIELDLIST is\nomitted.\n\n#### -P --portability\n\nuse the POSIX output format\n\n--sync invoke sync before getting usage info\n\n#### --total\n\nelide all entries insignificant to available space, and produce a grand total\n\n#### -t --type\n\nlimit listing to file systems of type TYPE\n\n#### -T --print-type\n\nprint file system type\n\n#### -x --exclude-type\n\nlimit listing to file systems not of type TYPE\n\n#### -v     (ignored)\n\n--help display this help and exit\n\n#### --version\n\noutput version information and exit\n\nDisplay values are  in  units  of  the  first  available  SIZE  from  --block-size,  and  the\nDFBLOCKSIZE,  BLOCKSIZE  and BLOCKSIZE environment variables.  Otherwise, units default to\n1024 bytes (or 512 if POSIXLYCORRECT is set).\n\nThe SIZE argument is an integer and optional unit  (example:  10K  is  10*1024).   Units  are\nK,M,G,T,P,E,Z,Y (powers of 1024) or KB,MB,... (powers of 1000).  Binary prefixes can be used,\ntoo: KiB=K, MiB=M, and so on.\n\nFIELDLIST is a comma-separated list of columns to  be  included.   Valid  field  names  are:\n'source',  'fstype', 'itotal', 'iused', 'iavail', 'ipcent', 'size', 'used', 'avail', 'pcent',\n'file' and 'target' (see info page).\n\n### AUTHOR\n\nWritten by Torbjorn Granlund, David MacKenzie, and Paul Eggert.\n\n### REPORTING BUGS\n\nGNU coreutils online help: <https://www.gnu.org/software/coreutils/>\nReport any translation bugs to <https://translationproject.org/team/>\n\n### COPYRIGHT\n\nCopyright © 2020 Free Software Foundation, Inc.  License GPLv3+: GNU GPL version 3  or  later\n<https://gnu.org/licenses/gpl.html>.\nThis  is free software: you are free to change and redistribute it.  There is NO WARRANTY, to\nthe extent permitted by law.\n\n### SEE ALSO\n\nFull documentation <https://www.gnu.org/software/coreutils/df>\nor available locally via: info '(coreutils) df invocation'\n\n\n\nGNU coreutils 8.32                          January 2026                                       DF(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "df",
        "section": "1",
        "mode": "man",
        "summary": "df - report file system disk space usage",
        "synopsis": "df [OPTION]... [FILE]...",
        "tldr_summary": "Display an overview of the filesystem disk space usage.",
        "tldr_examples": [
            {
                "description": "Display all filesystems and their disk usage (using 512-byte units)",
                "command": "df"
            },
            {
                "description": "Display the filesystem containing the specified file or directory",
                "command": "df {{path/to/file_or_directory}}"
            },
            {
                "description": "Use [k]ibibyte (1024 byte) units when showing size figures",
                "command": "df -k"
            },
            {
                "description": "Display information in a portable way",
                "command": "df -P"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-a",
                "long": "--all",
                "arg": null,
                "description": "include pseudo, duplicate, inaccessible file systems"
            },
            {
                "flag": "-B",
                "long": "--block-size",
                "arg": null,
                "description": "scale sizes by SIZE before printing them; e.g., '-BM' prints sizes in units of 1,048,576 bytes; see SIZE format below"
            },
            {
                "flag": "-h",
                "long": "--human-readable",
                "arg": null,
                "description": "print sizes in powers of 1024 (e.g., 1023M)"
            },
            {
                "flag": "-H",
                "long": "--si",
                "arg": null,
                "description": "print sizes in powers of 1000 (e.g., 1.1G)"
            },
            {
                "flag": "-i",
                "long": "--inodes",
                "arg": null,
                "description": "list inode information instead of block usage"
            },
            {
                "flag": "-k",
                "long": "--block-size",
                "arg": null,
                "description": ""
            },
            {
                "flag": "-l",
                "long": "--local",
                "arg": null,
                "description": "limit listing to local file systems"
            },
            {
                "flag": "",
                "long": "--no-sync",
                "arg": null,
                "description": "do not invoke sync before getting usage info (default) --output[=FIELDLIST] use the output format defined by FIELDLIST, or print all fields if FIELDLIST is omitted."
            },
            {
                "flag": "-P",
                "long": "--portability",
                "arg": null,
                "description": "use the POSIX output format --sync invoke sync before getting usage info"
            },
            {
                "flag": "",
                "long": "--total",
                "arg": null,
                "description": "elide all entries insignificant to available space, and produce a grand total"
            },
            {
                "flag": "-t",
                "long": "--type",
                "arg": null,
                "description": "limit listing to file systems of type TYPE"
            },
            {
                "flag": "-T",
                "long": "--print-type",
                "arg": null,
                "description": "print file system type"
            },
            {
                "flag": "-x",
                "long": "--exclude-type",
                "arg": null,
                "description": "limit listing to file systems not of type TYPE"
            },
            {
                "flag": "-v",
                "long": null,
                "arg": null,
                "description": "--help display this help and exit"
            },
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "output version information and exit Display values are in units of the first available SIZE from --block-size, and the DFBLOCKSIZE, BLOCKSIZE and BLOCKSIZE environment variables. Otherwise, units default to 1024 bytes (or 512 if POSIXLYCORRECT 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 (powers of 1024) or KB,MB,... (powers of 1000). Binary prefixes can be used, too: KiB=K, MiB=M, and so on. FIELDLIST 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)."
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 5,
                "subsections": [
                    {
                        "name": "-a --all",
                        "lines": 2,
                        "flag": "-a",
                        "long": "--all"
                    },
                    {
                        "name": "-B --block-size",
                        "lines": 3,
                        "flag": "-B",
                        "long": "--block-size"
                    },
                    {
                        "name": "-h --human-readable",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--human-readable"
                    },
                    {
                        "name": "-H --si",
                        "lines": 2,
                        "flag": "-H",
                        "long": "--si"
                    },
                    {
                        "name": "-i --inodes",
                        "lines": 2,
                        "flag": "-i",
                        "long": "--inodes"
                    },
                    {
                        "name": "-k --block-size",
                        "lines": 1,
                        "flag": "-k",
                        "long": "--block-size"
                    },
                    {
                        "name": "-l --local",
                        "lines": 2,
                        "flag": "-l",
                        "long": "--local"
                    },
                    {
                        "name": "--no-sync",
                        "lines": 6,
                        "long": "--no-sync"
                    },
                    {
                        "name": "-P --portability",
                        "lines": 4,
                        "flag": "-P",
                        "long": "--portability"
                    },
                    {
                        "name": "--total",
                        "lines": 2,
                        "long": "--total"
                    },
                    {
                        "name": "-t --type",
                        "lines": 2,
                        "flag": "-t",
                        "long": "--type"
                    },
                    {
                        "name": "-T --print-type",
                        "lines": 2,
                        "flag": "-T",
                        "long": "--print-type"
                    },
                    {
                        "name": "-x --exclude-type",
                        "lines": 2,
                        "flag": "-x",
                        "long": "--exclude-type"
                    },
                    {
                        "name": "-v     (ignored)",
                        "lines": 2,
                        "flag": "-v"
                    },
                    {
                        "name": "--version",
                        "lines": 14,
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 6,
                "subsections": []
            }
        ]
    }
}