table of contents
- bookworm 252.30-1~deb12u2
- bookworm 3.06-4
- bookworm-backports 3.08-3~bpo12+2
- bookworm-backports 254.16-1~bpo12+1
- testing 3.11-1
- testing 2.1.2-60
- testing 256.7-3
- unstable 257~rc1-4
- unstable 3.11-1
- unstable 2.1.2-60
POWEROFF(8) | poweroff | POWEROFF(8) |
NAME¶
poweroff, reboot, halt - Power off, reboot, or halt the machine
SYNOPSIS¶
poweroff [OPTIONS...]
reboot [OPTIONS...]
halt [OPTIONS...]
DESCRIPTION¶
poweroff, reboot, and halt may be used to power off, reboot, or halt the machine. All three commands take the same options.
OPTIONS¶
The following options are understood:
--help
Added in version 253.
--halt
Added in version 253.
-p, --poweroff
Added in version 253.
--reboot
Added in version 253.
-f, --force
Added in version 253.
-w, --wtmp-only
Added in version 253.
-d, --no-wtmp
Added in version 253.
-n, --no-sync
Added in version 253.
--no-wall
Added in version 253.
EXIT STATUS¶
On success, 0 is returned, a non-zero failure code otherwise.
NOTES¶
These commands are implemented in a way that preserves basic compatibility with the original SysV commands. systemctl(1) verbs poweroff, reboot, halt provide the same functionality with some additional features.
Note that on many SysV systems halt used to be synonymous to poweroff, i.e. both commands would equally result in powering the machine off. systemd is more accurate here, and halt results in halting the machine only (leaving power on), and poweroff is required to actually power it off.
SEE ALSO¶
systemd 257~rc1 |