{
    "content": [
        {
            "type": "text",
            "text": "# systemd-delta(1) (man)\n\n## TLDR\n\n> Find overridden systemd-related configuration files.\n\n- Show all overridden configuration files:\n  `systemd-delta`\n- Show only files of specific types (comma-separated list):\n  `systemd-delta {{-t|--type}} {{masked|equivalent|redirected|overridden|extended|unchanged}}`\n- Show only files whose path starts with the specified prefix (Note: A prefix is a directory containing subdirectories with systemd configuration files):\n  `systemd-delta {{/etc|/run|/usr/lib|...}}`\n- Further restrict the search path by adding a suffix (the prefix is optional):\n  `systemd-delta {{prefix}}/{{tmpfiles.d|sysctl.d|systemd/system|...}}`\n\n*Source: tldr-pages*\n\n---\n\n**Summary:** systemd-delta - Find overridden configuration files\n\n**Synopsis:** systemd-delta [OPTIONS...] [PREFIX[/SUFFIX]|SUFFIX...]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -t | — | — | When listing the differences, only list those that are asked for. The list itself is a comma-separated list of desired d |\n| — | — | — | When showing modified files, when a file is overridden show a diff as well. This option takes a boolean argument. If omi |\n| -h | --help | — | Print a short help text and exit. |\n| — | --version | — | Print a short version string and exit. |\n| — | --no-pager | — | Do not pipe output into a pager. |\n\n## Examples\n\n- `To see all local configuration:`\n- `systemd-delta`\n- `To see all runtime configuration:`\n- `systemd-delta /run`\n- `To see all system unit configuration changes:`\n- `systemd-delta systemd/system`\n- `To see all runtime \"drop-in\" changes for system units:`\n- `systemd-delta --type=extended /run/systemd/system`\n\n## See Also\n\n- systemd(1)\n- systemd.unit(5)\n- SYSTEMD-DELTA(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (20 lines)\n- **OPTIONS** (2 lines) — 5 subsections\n  - -t --type= (24 lines)\n  - --diff= (3 lines)\n  - -h --help (2 lines)\n  - --version (2 lines)\n  - --no-pager (2 lines)\n- **EXAMPLES** (16 lines)\n- **EXIT STATUS** (2 lines)\n- **SEE ALSO** (5 lines)\n\n## Full Content\n\n### NAME\n\nsystemd-delta - Find overridden configuration files\n\n### SYNOPSIS\n\nsystemd-delta [OPTIONS...] [PREFIX[/SUFFIX]|SUFFIX...]\n\n### DESCRIPTION\n\nsystemd-delta may be used to identify and compare configuration files that override other\nconfiguration files. Files in /etc/ have highest priority, files in /run/ have the second\nhighest priority, ..., files in /usr/lib/ have lowest priority. Files in a directory with\nhigher priority override files with the same name in directories of lower priority. In\naddition, certain configuration files can have \".d\" directories which contain \"drop-in\" files\nwith configuration snippets which augment the main configuration file. \"Drop-in\" files can be\noverridden in the same way by placing files with the same name in a directory of higher\npriority (except that, in case of \"drop-in\" files, both the \"drop-in\" file name and the name\nof the containing directory, which corresponds to the name of the main configuration file,\nmust match). For a fuller explanation, see systemd.unit(5).\n\nThe command line argument will be split into a prefix and a suffix. Either is optional. The\nprefix must be one of the directories containing configuration files (/etc/, /run/, /lib/,\n...). If it is given, only overriding files contained in this directory will be shown.\nOtherwise, all overriding files will be shown. The suffix must be a name of a subdirectory\ncontaining configuration files like tmpfiles.d, sysctl.d or systemd/system. If it is given,\nonly configuration files in this subdirectory (across all configuration paths) will be\nanalyzed. Otherwise, all configuration files will be analyzed. If the command line argument\nis not given at all, all configuration files will be analyzed. See below for some examples.\n\n### OPTIONS\n\nThe following options are understood:\n\n#### -t --type=\n\nWhen listing the differences, only list those that are asked for. The list itself is a\ncomma-separated list of desired difference types.\n\nRecognized types are:\n\nmasked\nShow masked files\n\nequivalent\nShow overridden files that while overridden, do not differ in content.\n\nredirected\nShow files that are redirected to another.\n\noverridden\nShow overridden, and changed files.\n\nextended\nShow *.conf files in drop-in directories for units.\n\nunchanged\nShow unmodified files too.\n\n#### --diff=\n\nWhen showing modified files, when a file is overridden show a diff as well. This option\ntakes a boolean argument. If omitted, it defaults to true.\n\n#### -h --help\n\nPrint a short help text and exit.\n\n#### --version\n\nPrint a short version string and exit.\n\n#### --no-pager\n\nDo not pipe output into a pager.\n\n### EXAMPLES\n\nTo see all local configuration:\n\nsystemd-delta\n\nTo see all runtime configuration:\n\nsystemd-delta /run\n\nTo see all system unit configuration changes:\n\nsystemd-delta systemd/system\n\nTo see all runtime \"drop-in\" changes for system units:\n\nsystemd-delta --type=extended /run/systemd/system\n\n### EXIT STATUS\n\nOn success, 0 is returned, a non-zero failure code otherwise.\n\n### SEE ALSO\n\nsystemd(1), systemd.unit(5)\n\n\n\nsystemd 249                                                                         SYSTEMD-DELTA(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "systemd-delta",
        "section": "1",
        "mode": "man",
        "summary": "systemd-delta - Find overridden configuration files",
        "synopsis": "systemd-delta [OPTIONS...] [PREFIX[/SUFFIX]|SUFFIX...]",
        "tldr_summary": "Find overridden systemd-related configuration files.",
        "tldr_examples": [
            {
                "description": "Show all overridden configuration files",
                "command": "systemd-delta"
            },
            {
                "description": "Show only files of specific types (comma-separated list)",
                "command": "systemd-delta {{-t|--type}} {{masked|equivalent|redirected|overridden|extended|unchanged}}"
            },
            {
                "description": "Show only files whose path starts with the specified prefix (Note: A prefix is a directory containing subdirectories with systemd configuration files)",
                "command": "systemd-delta {{/etc|/run|/usr/lib|...}}"
            },
            {
                "description": "Further restrict the search path by adding a suffix (the prefix is optional)",
                "command": "systemd-delta {{prefix}}/{{tmpfiles.d|sysctl.d|systemd/system|...}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-t",
                "long": null,
                "arg": null,
                "description": "When listing the differences, only list those that are asked for. The list itself is a comma-separated list of desired difference types. Recognized types are: masked Show masked files equivalent Show overridden files that while overridden, do not differ in content. redirected Show files that are redirected to another. overridden Show overridden, and changed files. extended Show *.conf files in drop-in directories for units. unchanged Show unmodified files too."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "When showing modified files, when a file is overridden show a diff as well. This option takes a boolean argument. If omitted, it defaults to true."
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "Print a short help text and exit."
            },
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "Print a short version string and exit."
            },
            {
                "flag": "",
                "long": "--no-pager",
                "arg": null,
                "description": "Do not pipe output into a pager."
            }
        ],
        "examples": [
            "To see all local configuration:",
            "systemd-delta",
            "To see all runtime configuration:",
            "systemd-delta /run",
            "To see all system unit configuration changes:",
            "systemd-delta systemd/system",
            "To see all runtime \"drop-in\" changes for system units:",
            "systemd-delta --type=extended /run/systemd/system"
        ],
        "see_also": [
            {
                "name": "systemd",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/systemd/1/json"
            },
            {
                "name": "systemd.unit",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/systemd.unit/5/json"
            },
            {
                "name": "SYSTEMD-DELTA",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/SYSTEMD-DELTA/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 20,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 2,
                "subsections": [
                    {
                        "name": "-t --type=",
                        "lines": 24,
                        "flag": "-t"
                    },
                    {
                        "name": "--diff=",
                        "lines": 3
                    },
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "--version",
                        "lines": 2,
                        "long": "--version"
                    },
                    {
                        "name": "--no-pager",
                        "lines": 2,
                        "long": "--no-pager"
                    }
                ]
            },
            {
                "name": "EXAMPLES",
                "lines": 16,
                "subsections": []
            },
            {
                "name": "EXIT STATUS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}