{
    "content": [
        {
            "type": "text",
            "text": "# ctrlaltdel (man)\n\n## NAME\n\nctrlaltdel - set the function of the Ctrl-Alt-Del combination\n\n## SYNOPSIS\n\nctrlaltdel hard|soft\n\n## DESCRIPTION\n\nBased on examination of the linux/kernel/reboot.c code, it is clear that there are two\nsupported functions that the <Ctrl-Alt-Del> sequence can perform.\n\n## TLDR\n\n> Utility to control what happens when CTRL+ALT+DEL is pressed.\n\n- Get current setting:\n  `ctrlaltdel`\n- Set CTRL+ALT+DEL to reboot immediately, without any preparation:\n  `sudo ctrlaltdel hard`\n- Set CTRL+ALT+DEL to reboot \"normally\", giving processes a chance to exit first (send SIGINT to PID1):\n  `sudo ctrlaltdel soft`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (2 subsections)\n- **OPTIONS** (2 subsections)\n- **FILES**\n- **AUTHORS**\n- **SEE ALSO**\n- **REPORTING BUGS**\n- **AVAILABILITY**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "ctrlaltdel",
        "section": "",
        "mode": "man",
        "summary": "ctrlaltdel - set the function of the Ctrl-Alt-Del combination",
        "synopsis": "ctrlaltdel hard|soft",
        "tldr_summary": "Utility to control what happens when CTRL+ALT+DEL is pressed.",
        "tldr_examples": [
            {
                "description": "Get current setting",
                "command": "ctrlaltdel"
            },
            {
                "description": "Set CTRL+ALT+DEL to reboot immediately, without any preparation",
                "command": "sudo ctrlaltdel hard"
            },
            {
                "description": "Set CTRL+ALT+DEL to reboot \"normally\", giving processes a chance to exit first (send SIGINT to PID1)",
                "command": "sudo ctrlaltdel soft"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-V",
                "long": "--version",
                "arg": null,
                "description": "Display version information and exit."
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "Display help text and exit."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "init",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/init/8/json"
            },
            {
                "name": "systemd",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/systemd/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": [
                    {
                        "name": "hard",
                        "lines": 3
                    },
                    {
                        "name": "soft",
                        "lines": 9
                    }
                ]
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-V --version",
                        "lines": 2,
                        "flag": "-V",
                        "long": "--version"
                    },
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    }
                ]
            },
            {
                "name": "FILES",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AVAILABILITY",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "ctrlaltdel - set the function of the Ctrl-Alt-Del combination\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "ctrlaltdel hard|soft\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Based on examination of the linux/kernel/reboot.c code, it is clear that there are two\nsupported functions that the <Ctrl-Alt-Del> sequence can perform.\n",
                "subsections": [
                    {
                        "name": "hard",
                        "content": "Immediately reboot the computer without calling sync(2) and without any other\npreparation. This is the default.\n"
                    },
                    {
                        "name": "soft",
                        "content": "Make the kernel send the SIGINT (interrupt) signal to the init process (this is always\nthe process with PID 1). If this option is used, the init(8) program must support this\nfeature. Since there are now several init(8) programs in the Linux community, please\nconsult the documentation for the version that you are currently using.\n\nWhen the command is run without any argument, it will display the current setting.\n\nThe function of ctrlaltdel is usually set in the /etc/rc.local file.\n"
                    }
                ]
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-V --version",
                        "content": "Display version information and exit.\n",
                        "flag": "-V",
                        "long": "--version"
                    },
                    {
                        "name": "-h --help",
                        "content": "Display help text and exit.\n",
                        "flag": "-h",
                        "long": "--help"
                    }
                ]
            },
            "FILES": {
                "content": "/etc/rc.local\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "Peter Orbaek <poe@daimi.aau.dk>\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "init(8), systemd(1)\n",
                "subsections": []
            },
            "REPORTING BUGS": {
                "content": "For bug reports, use the issue tracker at https://github.com/karelzak/util-linux/issues.\n",
                "subsections": []
            },
            "AVAILABILITY": {
                "content": "The ctrlaltdel command is part of the util-linux package which can be downloaded from Linux\nKernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.\n\n\n\nutil-linux 2.37.2                            2021-06-02                                CTRLALTDEL(8)",
                "subsections": []
            }
        }
    }
}