{
    "content": [
        {
            "type": "text",
            "text": "# SHUTDOWN (man)\n\n## NAME\n\nshutdown - Halt, power-off or reboot the machine\n\n## SYNOPSIS\n\nshutdown [OPTIONS...] [TIME] [WALL...]\n\n## DESCRIPTION\n\nshutdown may be used to halt, power-off or reboot the machine.\n\n## TLDR\n\n> Shutdown and reboot the system.\n\n- Power off ([h]alt) immediately:\n  `shutdown -h now`\n- Reboot immediately:\n  `shutdown {{-r|--reboot}} now`\n- Reboot in 5 minutes:\n  `shutdown {{-r|--reboot}} +5 &`\n- Shutdown at 1:00 pm (Uses 24h clock):\n  `shutdown -h 13:00`\n- [c]ancel a pending shutdown/reboot operation:\n  `shutdown -c`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (8 subsections)\n- **EXIT STATUS**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "SHUTDOWN",
        "section": "",
        "mode": "man",
        "summary": "shutdown - Halt, power-off or reboot the machine",
        "synopsis": "shutdown [OPTIONS...] [TIME] [WALL...]",
        "tldr_summary": "Shutdown and reboot the system.",
        "tldr_examples": [
            {
                "description": "Power off ([h]alt) immediately",
                "command": "shutdown -h now"
            },
            {
                "description": "Reboot immediately",
                "command": "shutdown {{-r|--reboot}} now"
            },
            {
                "description": "Reboot in 5 minutes",
                "command": "shutdown {{-r|--reboot}} +5 &"
            },
            {
                "description": "Shutdown at 1:00 pm (Uses 24h clock)",
                "command": "shutdown -h 13:00"
            },
            {
                "description": "[c]ancel a pending shutdown/reboot operation",
                "command": "shutdown -c"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "",
                "long": "--help",
                "arg": null,
                "description": "Print a short help text and exit."
            },
            {
                "flag": "-H",
                "long": "--halt",
                "arg": null,
                "description": "Halt the machine."
            },
            {
                "flag": "-P",
                "long": "--poweroff",
                "arg": null,
                "description": "Power-off the machine (the default)."
            },
            {
                "flag": "-r",
                "long": "--reboot",
                "arg": null,
                "description": "Reboot the machine."
            },
            {
                "flag": "-h",
                "long": null,
                "arg": null,
                "description": "Equivalent to --poweroff, unless --halt is specified."
            },
            {
                "flag": "-k",
                "long": null,
                "arg": null,
                "description": "Do not halt, power-off, reboot, just write wall message."
            },
            {
                "flag": "",
                "long": "--no-wall",
                "arg": null,
                "description": "Do not send wall message before halt, power-off, reboot."
            },
            {
                "flag": "-c",
                "long": null,
                "arg": null,
                "description": "Cancel a pending shutdown. This may be used to cancel the effect of an invocation of shutdown with a time argument that is not \"+0\" or \"now\"."
            }
        ],
        "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": "halt",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/halt/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": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 2,
                "subsections": [
                    {
                        "name": "--help",
                        "lines": 2,
                        "long": "--help"
                    },
                    {
                        "name": "-H --halt",
                        "lines": 2,
                        "flag": "-H",
                        "long": "--halt"
                    },
                    {
                        "name": "-P --poweroff",
                        "lines": 2,
                        "flag": "-P",
                        "long": "--poweroff"
                    },
                    {
                        "name": "-r --reboot",
                        "lines": 2,
                        "flag": "-r",
                        "long": "--reboot"
                    },
                    {
                        "name": "-h",
                        "lines": 2,
                        "flag": "-h"
                    },
                    {
                        "name": "-k",
                        "lines": 2,
                        "flag": "-k"
                    },
                    {
                        "name": "--no-wall",
                        "lines": 2,
                        "long": "--no-wall"
                    },
                    {
                        "name": "-c",
                        "lines": 3,
                        "flag": "-c"
                    }
                ]
            },
            {
                "name": "EXIT STATUS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "shutdown - Halt, power-off or reboot the machine\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "shutdown [OPTIONS...] [TIME] [WALL...]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "shutdown may be used to halt, power-off or reboot the machine.\n\nThe first argument may be a time string (which is usually \"now\"). Optionally, this may be\nfollowed by a wall message to be sent to all logged-in users before going down.\n\nThe time string may either be in the format \"hh:mm\" for hour/minutes specifying the time to\nexecute the shutdown at, specified in 24h clock format. Alternatively it may be in the syntax\n\"+m\" referring to the specified number of minutes m from now.  \"now\" is an alias for \"+0\",\ni.e. for triggering an immediate shutdown. If no time argument is specified, \"+1\" is implied.\n\nNote that to specify a wall message you must specify a time argument, too.\n\nIf the time argument is used, 5 minutes before the system goes down the /run/nologin file is\ncreated to ensure that further logins shall not be allowed.\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": "-H --halt",
                        "content": "Halt the machine.\n",
                        "flag": "-H",
                        "long": "--halt"
                    },
                    {
                        "name": "-P --poweroff",
                        "content": "Power-off the machine (the default).\n",
                        "flag": "-P",
                        "long": "--poweroff"
                    },
                    {
                        "name": "-r --reboot",
                        "content": "Reboot the machine.\n",
                        "flag": "-r",
                        "long": "--reboot"
                    },
                    {
                        "name": "-h",
                        "content": "Equivalent to --poweroff, unless --halt is specified.\n",
                        "flag": "-h"
                    },
                    {
                        "name": "-k",
                        "content": "Do not halt, power-off, reboot, just write wall message.\n",
                        "flag": "-k"
                    },
                    {
                        "name": "--no-wall",
                        "content": "Do not send wall message before halt, power-off, reboot.\n",
                        "long": "--no-wall"
                    },
                    {
                        "name": "-c",
                        "content": "Cancel a pending shutdown. This may be used to cancel the effect of an invocation of\nshutdown with a time argument that is not \"+0\" or \"now\".\n",
                        "flag": "-c"
                    }
                ]
            },
            "EXIT STATUS": {
                "content": "On success, 0 is returned, a non-zero failure code otherwise.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "systemd(1), systemctl(1), halt(8), wall(1)\n\n\n\nsystemd 249                                                                              SHUTDOWN(8)",
                "subsections": []
            }
        }
    }
}