Section: halt (8)
halt, poweroff, reboot - Halt, power-off or reboot the machine
may be used to halt, power-off or reboot the machine.
The following options are understood:
Print a short help text and exit.
Halt the machine, regardless of which one of the three commands is invoked.
Power-off the machine, regardless of which one of the three commands is invoked.
Reboot the machine, regardless of which one of the three commands is invoked.
Force immediate halt, power-off, or reboot. When specified once, this results in an immediate but clean shutdown by the system manager. When specified twice, this results in an immediate shutdown without contacting the system manager. See the description of
for more details.
Only write wtmp shutdown entry, do not actually halt, power-off, reboot.
Do not write wtmp shutdown entry.
Don't sync hard disks/storage media before halt, power-off, reboot.
Do not send wall message before halt, power-off, reboot.
On success, 0 is returned, a non-zero failure code otherwise.
These commands are implemented in a way that preserves compatibility with the original SysV commands.
provide the same functionality with some additional features.