1SHUTDOWN(8) shutdown SHUTDOWN(8)
2
3
4
6 shutdown - Halt, power-off or reboot the machine
7
9 shutdown [OPTIONS...] [TIME] [WALL...]
10
12 shutdown may be used to halt, power-off or reboot the machine.
13
14 The first argument may be a time string (which is usually now).
15 Optionally, this may be followed by a wall message to be sent to all
16 logged-in users before going down.
17
18 The time string may either be in the format hh:mm for hour/minutes
19 specifying the time to execute the shutdown at, specified in 24h clock
20 format. Alternatively it may be in the syntax +m referring to the
21 specified number of minutes m from now. now is an alias for +0, i.e.
22 for triggering an immediate shutdown. If no time argument is specified,
23 +1 is implied.
24
25 Note that to specify a wall message you must speciy a time argument,
26 too.
27
28 If the time argument is used, 5 minutes before the system goes down the
29 /etc/nologin file is created to ensure that further logins shall not be
30 allowed.
31
33 The following options are understood:
34
35 --help
36 Prints a short help text and exits.
37
38 -H, --halt
39 Halt the machine.
40
41 -P, --poweroff
42 Power-off the machine (the default).
43
44 -r, --reboot
45 Reboot the machine.
46
47 -h
48 Equivalent to --poweroff, unless --halt is specified.
49
50 -k
51 Don´t halt, power-off, reboot, just write wall message.
52
53 --no-wall
54 Don´t send wall message before halt, power-off, reboot.
55
56 -c
57 Cancel a pending shutdown. This may be used cancel the effect of an
58 invocation of shutdown with a time argument that is not +0 or now.
59
61 On success 0 is returned, a non-zero failure code otherwise.
62
64 This is a legacy command available for compatibility only.
65
67 systemd(1), systemctl(1), halt(8), wall(1)
68
70 Lennart Poettering <lennart@poettering.net>
71 Developer
72
73
74
75systemd 09/14/2010 SHUTDOWN(8)