NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXIT STATUS | NOTES | SEE ALSO | COLOPHON |
|
HALT(8) halt HALT(8)
halt, poweroff, reboot - Halt, power-off or reboot the machine
halt [OPTIONS...] poweroff [OPTIONS...] reboot [OPTIONS...]
halt, poweroff, reboot may be used to halt, power-off or reboot the machine.
The following options are understood: --help Print a short help text and exit. --halt Halt the machine, regardless of which one of the three commands is invoked. -p, --poweroff Power-off the machine, regardless of which one of the three commands is invoked. --reboot Reboot the machine, regardless of which one of the three commands is invoked. -f, --force Force immediate halt, power-off, reboot. Do not contact the init system. -w, --wtmp-only Only write wtmp shutdown entry, do not actually halt, power-off, reboot. -d, --no-wtmp Do not write wtmp shutdown entry. -n, --no-sync Don't sync hard disks/storage media before halt, power-off, reboot. --no-wall Do not send wall message before halt, power-off, reboot.
On success, 0 is returned, a non-zero failure code otherwise.
These are legacy commands available for compatibility only.
systemd(1), systemctl(1), shutdown(8), wall(1)
This page is part of the systemd (systemd system and service manager)
project. Information about the project can be found at
⟨http://www.freedesktop.org/wiki/Software/systemd⟩. If you have a bug
report for this manual page, see
⟨http://www.freedesktop.org/wiki/Software/systemd/#bugreports⟩. This
page was obtained from the project's upstream Git repository
⟨https://github.com/systemd/systemd.git⟩ on 2018-02-02. (At that
time, the date of the most recent commit that was found in the repos‐
itory was 2018-02-02.) If you discover any rendering problems in
this HTML version of the page, or you believe there is a better or
more up-to-date source for the page, or you have corrections or
improvements to the information in this COLOPHON (which is not part
of the original manual page), send a mail to man-pages@man7.org
systemd 234 HALT(8)
Pages that refer to this page: reboot(2), systemd.directives(7), systemd.index(7), fsck.minix(8), mkfs.minix(8), shutdown(8)