1POWEROFF(8)                        poweroff                        POWEROFF(8)
2
3
4

NAME

6       poweroff, reboot, halt - Power off, reboot, or halt the machine
7

SYNOPSIS

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

DESCRIPTION

16       poweroff, reboot, and halt may be used to power off, reboot, or halt
17       the 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 power-off, halt, or reboot. If specified, the
39           command does not contact the init system. In most cases,
40           filesystems are not properly unmounted before shutdown. For
41           example, the command reboot -f is mostly equivalent to systemctl
42           reboot -ff, instead of systemctl reboot -f.
43
44       -w, --wtmp-only
45           Only write wtmp shutdown entry, do not actually power off, reboot,
46           or halt.
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 power-off, reboot, or
53           halt.
54
55       --no-wall
56           Do not send wall message before power-off, reboot, or halt.
57

EXIT STATUS

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

NOTES

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

SEE ALSO

74       systemd(1), systemctl(1), shutdown(8), wall(1)
75
76
77
78systemd 254                                                        POWEROFF(8)
Impressum