Section: Maintenance Commands (8)
Return to Main Contents
shutdown - bring the system down
arranges for the system to be brought down in a safe way. All logged-in
users are notified that the system is going down and, within the last
five minutes of
new logins are prevented.
may have different formats, the most common is simply the word
which will bring the system down immediately. Other valid formats are
is the number of minutes to wait until shutting down and
which specifies the time on the 24hr clock.
If no option is specified, the default action is to bring the
system down into single-user mode.
sends a request to the
daemon to bring the system down into the appropriate runlevel.
This is performed by emitting the
event, which includes the new runlevel in the
environment variable as well as the previous runlevel (obtained from the
environment or from
variable. An additional
variable may be set, this will contain the value
when bringing the system down for halt and
when bringing the system down for power off.
Requests that the system be rebooted after it has been brought down.
Requests that the system be either halted or powered off after it has been
brought down, with the choice as to which left up to the system.
Requests that the system be halted after it has been brought down.
Requests that the system be powered off after it has been brought down.
Cancels a running shutdown.
is not specified with this option, the first argument is
Only send out the warning messages and disable logins, do not actually
bring the system down.
will read the current runlevel from this environment variable if set in
preference to reading from
Where the current runlevel will be read from; this file will also be updated
with the new runlevel.
A new runlevel record will be appended to this file for the new runlevel.
daemon does not keep track of runlevels itself, instead they are implemented
entirely by its userspace tools.
for more details.
Written by Scott James Remnant
Report bugs at
Copyright © 2009 Canonical Ltd.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- REPORTING BUGS
- SEE ALSO
This document was created by
using the manual pages.
Time: 15:14:55 GMT, January 20, 2018