2 .TH "SHUTDOWN" "8" "" "systemd 218" "shutdown"
3 .\" -----------------------------------------------------------------
4 .\" * Define some portability stuff
5 .\" -----------------------------------------------------------------
6 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 .\" http://bugs.debian.org/507673
8 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
9 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12 .\" -----------------------------------------------------------------
13 .\" * set default formatting
14 .\" -----------------------------------------------------------------
15 .\" disable hyphenation
17 .\" disable justification (adjust text to left margin only)
19 .\" -----------------------------------------------------------------
20 .\" * MAIN CONTENT STARTS HERE *
21 .\" -----------------------------------------------------------------
23 shutdown \- Halt, power\-off or reboot the machine
25 .HP \w'\fBshutdown\ \fR\fB[OPTIONS...]\fR\fB\ \fR\fB[TIME]\fR\fB\ \fR\fB[WALL...]\fR\ 'u
26 \fBshutdown \fR\fB[OPTIONS...]\fR\fB \fR\fB[TIME]\fR\fB \fR\fB[WALL...]\fR
30 may be used to halt, power\-off or reboot the machine\&.
32 The first argument may be a time string (which is usually
33 "now")\&. Optionally, this may be followed by a wall message to be sent to all logged\-in users before going down\&.
35 The time string may either be in the format
37 for hour/minutes specifying the time to execute the shutdown at, specified in 24h clock format\&. Alternatively it may be in the syntax
39 referring to the specified number of minutes m from now\&.
42 "+0", i\&.e\&. for triggering an immediate shutdown\&. If no time argument is specified,
46 Note that to specify a wall message you must specify a time argument, too\&.
48 If the time argument is used, 5 minutes before the system goes down the
50 file is created to ensure that further logins shall not be allowed\&.
53 The following options are understood:
57 Print a short help text and exit\&.
60 \fB\-H\fR, \fB\-\-halt\fR
65 \fB\-P\fR, \fB\-\-poweroff\fR
67 Power\-off the machine (the default)\&.
70 \fB\-r\fR, \fB\-\-reboot\fR
78 \fB\-\-poweroff\fR, unless
85 Do not halt, power\-off, reboot, just write wall message\&.
90 Do not send wall message before halt, power\-off, reboot\&.
95 Cancel a pending shutdown\&. This may be used cancel the effect of an invocation of
97 with a time argument that is not
104 On success, 0 is returned, a non\-zero failure code otherwise\&.