{
    "content": [
        {
            "type": "text",
            "text": "# dircolors(1) (man)\n\n**Summary:** dircolors - color setup for ls\n\n**Synopsis:** dircolors [OPTION]... [FILE]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -b | --bourne-shell | — | output Bourne shell code to set LSCOLORS |\n| -c | --c-shell | — | output C shell code to set LSCOLORS |\n| -p | --print-database | — | output defaults --help display this help and exit |\n| — | --version | — | output version information and exit If FILE is specified, read it to determine which colors to use for which file types  |\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (2 lines) — 5 subsections\n  - Determine format of output: (1 lines)\n  - -b --sh --bourne-shell (2 lines)\n  - -c --csh --c-shell (2 lines)\n  - -p --print-database (4 lines)\n  - --version (6 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\ndircolors - color setup for ls\n\n### SYNOPSIS\n\ndircolors [OPTION]... [FILE]\n\n### DESCRIPTION\n\nOutput commands to set the LSCOLORS environment variable.\n\n#### Determine format of output:\n\n#### -b --sh --bourne-shell\n\noutput Bourne shell code to set LSCOLORS\n\n#### -c --csh --c-shell\n\noutput C shell code to set LSCOLORS\n\n#### -p --print-database\n\noutput defaults\n\n--help display this help and exit\n\n#### --version\n\noutput version information and exit\n\nIf  FILE  is specified, read it to determine which colors to use for which file types and ex‐\ntensions.  Otherwise, a precompiled database is used.  For details on  the  format  of  these\nfiles, run 'dircolors --print-database'.\n\n### AUTHOR\n\nWritten by H. Peter Anvin.\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/dircolors>\nor available locally via: info '(coreutils) dircolors invocation'\n\n\n\nGNU coreutils 8.32                          January 2026                                DIRCOLORS(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "dircolors",
        "section": "1",
        "mode": "man",
        "summary": "dircolors - color setup for ls",
        "synopsis": "dircolors [OPTION]... [FILE]",
        "flags": [
            {
                "flag": "-b",
                "long": "--bourne-shell",
                "arg": null,
                "description": "output Bourne shell code to set LSCOLORS"
            },
            {
                "flag": "-c",
                "long": "--c-shell",
                "arg": null,
                "description": "output C shell code to set LSCOLORS"
            },
            {
                "flag": "-p",
                "long": "--print-database",
                "arg": null,
                "description": "output defaults --help display this help and exit"
            },
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "output version information and exit If FILE is specified, read it to determine which colors to use for which file types and ex‐ tensions. Otherwise, a precompiled database is used. For details on the format of these files, run 'dircolors --print-database'."
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": [
                    {
                        "name": "Determine format of output:",
                        "lines": 1
                    },
                    {
                        "name": "-b --sh --bourne-shell",
                        "lines": 2,
                        "flag": "-b",
                        "long": "--bourne-shell"
                    },
                    {
                        "name": "-c --csh --c-shell",
                        "lines": 2,
                        "flag": "-c",
                        "long": "--c-shell"
                    },
                    {
                        "name": "-p --print-database",
                        "lines": 4,
                        "flag": "-p",
                        "long": "--print-database"
                    },
                    {
                        "name": "--version",
                        "lines": 6,
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 6,
                "subsections": []
            }
        ]
    }
}