{
    "content": [
        {
            "type": "text",
            "text": "# reboot (man)\n\n## NAME\n\nhalt, poweroff, reboot - Halt, power-off or reboot the machine\n\n## SYNOPSIS\n\nhalt [OPTIONS...]\npoweroff [OPTIONS...]\nreboot [OPTIONS...]\n\n## DESCRIPTION\n\nhalt, poweroff, reboot may be used to halt, power-off, or reboot the machine. All three\ncommands take the same options.\n\n## TLDR\n\n> Reboot the system.\n\n- Reboot the system:\n  `reboot`\n- Power off the system (same as `poweroff`):\n  `reboot {{-p|--poweroff}}`\n- Halt (terminates all processes and shuts down the CPU) the system (same as `halt`):\n  `reboot --halt`\n- Reboot immediately without contacting the system manager:\n  `reboot {{-f|--force}}`\n- Write the wtmp shutdown entry without rebooting the system:\n  `reboot {{-w|--wtmp-only}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (9 subsections)\n- **EXIT STATUS**\n- **NOTES**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "reboot",
        "section": "",
        "mode": "man",
        "summary": "halt, poweroff, reboot - Halt, power-off or reboot the machine",
        "synopsis": "halt [OPTIONS...]\npoweroff [OPTIONS...]\nreboot [OPTIONS...]",
        "tldr_summary": "Reboot the system.",
        "tldr_examples": [
            {
                "description": "Reboot the system",
                "command": "reboot"
            },
            {
                "description": "Power off the system (same as `poweroff`)",
                "command": "reboot {{-p|--poweroff}}"
            },
            {
                "description": "Halt (terminates all processes and shuts down the CPU) the system (same as `halt`)",
                "command": "reboot --halt"
            },
            {
                "description": "Reboot immediately without contacting the system manager",
                "command": "reboot {{-f|--force}}"
            },
            {
                "description": "Write the wtmp shutdown entry without rebooting the system",
                "command": "reboot {{-w|--wtmp-only}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "",
                "long": "--help",
                "arg": null,
                "description": "Print a short help text and exit."
            },
            {
                "flag": "",
                "long": "--halt",
                "arg": null,
                "description": "Halt the machine, regardless of which one of the three commands is invoked."
            },
            {
                "flag": "-p",
                "long": "--poweroff",
                "arg": null,
                "description": "Power-off the machine, regardless of which one of the three commands is invoked."
            },
            {
                "flag": "",
                "long": "--reboot",
                "arg": null,
                "description": "Reboot the machine, regardless of which one of the three commands is invoked."
            },
            {
                "flag": "-f",
                "long": "--force",
                "arg": null,
                "description": "Force immediate halt, power-off, or reboot. When specified once, this results in an immediate but clean shutdown by the system manager. When specified twice, this results in an immediate shutdown without contacting the system manager. See the description of --force in systemctl(1) for more details."
            },
            {
                "flag": "-w",
                "long": "--wtmp-only",
                "arg": null,
                "description": "Only write wtmp shutdown entry, do not actually halt, power-off, reboot."
            },
            {
                "flag": "-d",
                "long": "--no-wtmp",
                "arg": null,
                "description": "Do not write wtmp shutdown entry."
            },
            {
                "flag": "-n",
                "long": "--no-sync",
                "arg": null,
                "description": "Don't sync hard disks/storage media before halt, power-off, reboot."
            },
            {
                "flag": "",
                "long": "--no-wall",
                "arg": null,
                "description": "Do not send wall message before halt, power-off, reboot."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "systemd",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/systemd/1/json"
            },
            {
                "name": "systemctl",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/systemctl/1/json"
            },
            {
                "name": "shutdown",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/shutdown/8/json"
            },
            {
                "name": "wall",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/wall/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 2,
                "subsections": [
                    {
                        "name": "--help",
                        "lines": 2,
                        "long": "--help"
                    },
                    {
                        "name": "--halt",
                        "lines": 2,
                        "long": "--halt"
                    },
                    {
                        "name": "-p --poweroff",
                        "lines": 2,
                        "flag": "-p",
                        "long": "--poweroff"
                    },
                    {
                        "name": "--reboot",
                        "lines": 2,
                        "long": "--reboot"
                    },
                    {
                        "name": "-f --force",
                        "lines": 5,
                        "flag": "-f",
                        "long": "--force"
                    },
                    {
                        "name": "-w --wtmp-only",
                        "lines": 2,
                        "flag": "-w",
                        "long": "--wtmp-only"
                    },
                    {
                        "name": "-d --no-wtmp",
                        "lines": 2,
                        "flag": "-d",
                        "long": "--no-wtmp"
                    },
                    {
                        "name": "-n --no-sync",
                        "lines": 2,
                        "flag": "-n",
                        "long": "--no-sync"
                    },
                    {
                        "name": "--no-wall",
                        "lines": 2,
                        "long": "--no-wall"
                    }
                ]
            },
            {
                "name": "EXIT STATUS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "halt, poweroff, reboot - Halt, power-off or reboot the machine\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "halt [OPTIONS...]\n\npoweroff [OPTIONS...]\n\nreboot [OPTIONS...]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "halt, poweroff, reboot may be used to halt, power-off, or reboot the machine. All three\ncommands take the same options.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "The following options are understood:\n",
                "subsections": [
                    {
                        "name": "--help",
                        "content": "Print a short help text and exit.\n",
                        "long": "--help"
                    },
                    {
                        "name": "--halt",
                        "content": "Halt the machine, regardless of which one of the three commands is invoked.\n",
                        "long": "--halt"
                    },
                    {
                        "name": "-p --poweroff",
                        "content": "Power-off the machine, regardless of which one of the three commands is invoked.\n",
                        "flag": "-p",
                        "long": "--poweroff"
                    },
                    {
                        "name": "--reboot",
                        "content": "Reboot the machine, regardless of which one of the three commands is invoked.\n",
                        "long": "--reboot"
                    },
                    {
                        "name": "-f --force",
                        "content": "Force immediate halt, power-off, or reboot. When specified once, this results in an\nimmediate but clean shutdown by the system manager. When specified twice, this results in\nan immediate shutdown without contacting the system manager. See the description of\n--force in systemctl(1) for more details.\n",
                        "flag": "-f",
                        "long": "--force"
                    },
                    {
                        "name": "-w --wtmp-only",
                        "content": "Only write wtmp shutdown entry, do not actually halt, power-off, reboot.\n",
                        "flag": "-w",
                        "long": "--wtmp-only"
                    },
                    {
                        "name": "-d --no-wtmp",
                        "content": "Do not write wtmp shutdown entry.\n",
                        "flag": "-d",
                        "long": "--no-wtmp"
                    },
                    {
                        "name": "-n --no-sync",
                        "content": "Don't sync hard disks/storage media before halt, power-off, reboot.\n",
                        "flag": "-n",
                        "long": "--no-sync"
                    },
                    {
                        "name": "--no-wall",
                        "content": "Do not send wall message before halt, power-off, reboot.\n",
                        "long": "--no-wall"
                    }
                ]
            },
            "EXIT STATUS": {
                "content": "On success, 0 is returned, a non-zero failure code otherwise.\n",
                "subsections": []
            },
            "NOTES": {
                "content": "These commands are implemented in a way that preserves basic compatibility with the original\nSysV commands.  systemctl(1) verbs halt, poweroff, reboot provide the same functionality with\nsome additional features.\n\nNote that on many SysV systems halt used to be synonymous to poweroff, i.e. both commands\nwould equally result in powering the machine off. systemd is more accurate here, and halt\nresults in halting the machine only (leaving power on), and poweroff is required to actually\npower it off.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "systemd(1), systemctl(1), shutdown(8), wall(1)\n\n\n\nsystemd 249                                                                                  HALT(8)",
                "subsections": []
            }
        }
    }
}