1HALT(8)                              halt                              HALT(8)
2
3
4

NAME

6       halt, poweroff, reboot - Halt, power-off or reboot the machine
7

SYNOPSIS

9       halt [OPTIONS...]
10
11       poweroff [OPTIONS...]
12
13       reboot [OPTIONS...]
14

DESCRIPTION

16       halt, poweroff, reboot may be used to halt, power-off, or reboot the
17       machine. All three commands take the same options.
18

OPTIONS

20       The following options are understood:
21
22       --help
23           Print a short help text and exit.
24
25       --halt
26           Halt the machine, regardless of which one of the three commands is
27           invoked.
28
29       -p, --poweroff
30           Power-off the machine, when either halt or poweroff is invoked.
31           This option is ignored when reboot is invoked.
32
33       --reboot
34           Reboot the machine, regardless of which one of the three commands
35           is invoked.
36
37       -f, --force
38           Force immediate halt, power-off, reboot. If specified, the command
39           does not contact the init system. In most cases, filesystems are
40           not properly unmounted before shutdown. For example, the command
41           reboot -f is mostly equivalent to systemctl reboot -ff, instead of
42           systemctl reboot -f.
43
44       -w, --wtmp-only
45           Only write wtmp shutdown entry, do not actually halt, power-off,
46           reboot.
47
48       -d, --no-wtmp
49           Do not write wtmp shutdown entry.
50
51       -n, --no-sync
52           Don't sync hard disks/storage media before halt, power-off, reboot.
53
54       --no-wall
55           Do not send wall message before halt, power-off, reboot.
56

EXIT STATUS

58       On success, 0 is returned, a non-zero failure code otherwise.
59

NOTES

61       These commands are implemented in a way that preserves basic
62       compatibility with the original SysV commands.  systemctl(1) verbs
63       halt, poweroff, reboot provide the same functionality with some
64       additional features.
65
66       Note that on many SysV systems halt used to be synonymous to poweroff,
67       i.e. both commands would equally result in powering the machine off.
68       systemd is more accurate here, and halt results in halting the machine
69       only (leaving power on), and poweroff is required to actually power it
70       off.
71

SEE ALSO

73       systemd(1), systemctl(1), shutdown(8), wall(1)
74
75
76
77systemd 251                                                            HALT(8)
Impressum