{"id":2801,"date":"2022-12-20T15:17:20","date_gmt":"2022-12-20T18:17:20","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/shutdown-man8\/"},"modified":"2022-12-20T15:17:20","modified_gmt":"2022-12-20T18:17:20","slug":"shutdown-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/shutdown-man8\/","title":{"rendered":"SHUTDOWN (man8)"},"content":{"rendered":"<h1 align=\"center\">SHUTDOWN<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#EXIT STATUS\">EXIT STATUS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">shutdown \u2212 Halt, power\u2212off or reboot the machine<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"58%\">\n<p style=\"margin-top: 1em\"><b>shutdown<\/b> [OPTIONS&#8230;] [TIME] [WALL&#8230;]<\/p>\n<\/td>\n<td width=\"31%\"> <\/td>\n<\/tr>\n<\/table>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>shutdown<\/b> may be used to halt, power\u2212off or reboot the machine.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The first argument may be a time string (which is usually &#8220;now&#8221;). Optionally, this may be followed by a wall message to be sent to all logged\u2212in users before going down.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The time string may either be in the format &#8220;hh:mm&#8221; for hour\/minutes specifying the time to execute the shutdown at, specified in 24h clock format. Alternatively it may be in the syntax &#8220;+m&#8221; referring to the specified number of minutes m from now. &#8220;now&#8221; is an alias for &#8220;+0&#8221;, i.e. for triggering an immediate shutdown. If no time argument is specified, &#8220;+1&#8221; is implied.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Note that to specify a wall message you must specify a time argument, too.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">If the time argument is used, 5 minutes before the system goes down the \/run\/nologin file is created to ensure that further logins shall not be allowed.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The following options are understood:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212\u2212help<\/b><\/p>\n<p style=\"margin-left:17%;\">Print a short help text and exit.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212H<\/b>, <b>\u2212\u2212halt<\/b><\/p>\n<p style=\"margin-left:17%;\">Halt the machine.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212P<\/b>, <b>\u2212\u2212poweroff<\/b><\/p>\n<p style=\"margin-left:17%;\">Power\u2212off the machine (the default).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212r<\/b>, <b>\u2212\u2212reboot<\/b><\/p>\n<p style=\"margin-left:17%;\">Reboot the machine.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212h<\/b><\/p>\n<p style=\"margin-left:17%;\">Equivalent to <b>\u2212\u2212poweroff<\/b>, unless <b>\u2212\u2212halt<\/b> is specified.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212k<\/b><\/p>\n<p style=\"margin-left:17%;\">Do not halt, power\u2212off, reboot, just write wall message.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212\u2212no\u2212wall<\/b><\/p>\n<p style=\"margin-left:17%;\">Do not send wall message before halt, power\u2212off, reboot.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212c<\/b><\/p>\n<p style=\"margin-left:17%;\">Cancel a pending shutdown. This may be used to cancel the effect of an invocation of <b>shutdown<\/b> with a time argument that is not &#8220;+0&#8221; or &#8220;now&#8221;.<\/p>\n<h2>EXIT STATUS <a name=\"EXIT STATUS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">On success, 0 is returned, a non\u2212zero failure code otherwise.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>systemd<\/b>(1), <b>systemctl<\/b>(1), <b>halt<\/b>(8), <b>wall<\/b>(1)<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  shutdown \u2212 Halt, power\u2212off or reboot the machine <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,155],"class_list":["post-2801","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-shutdown"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2801","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=2801"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2801\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=2801"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=2801"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=2801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}