2016-05-27 16:47:57 +01:00
|
|
|
# halt
|
|
|
|
|
2021-03-25 12:46:40 +00:00
|
|
|
> Halt the system.
|
|
|
|
> More information: <https://www.man7.org/linux/man-pages/man8/halt.8.html>.
|
2016-05-27 16:47:57 +01:00
|
|
|
|
2021-03-25 12:46:40 +00:00
|
|
|
- Halt the system:
|
2016-05-27 16:47:57 +01:00
|
|
|
|
|
|
|
`halt`
|
|
|
|
|
2021-03-25 12:46:40 +00:00
|
|
|
- Power off the system (same as `poweroff`):
|
2020-10-07 12:38:05 +01:00
|
|
|
|
|
|
|
`halt --poweroff`
|
|
|
|
|
2021-03-25 12:46:40 +00:00
|
|
|
- Reboot the system (same as `reboot`):
|
2016-05-27 16:47:57 +01:00
|
|
|
|
|
|
|
`halt --reboot`
|
2021-03-25 12:46:40 +00:00
|
|
|
|
|
|
|
- Halt immediately without contacting the system manager:
|
|
|
|
|
|
|
|
`halt --force --force`
|
|
|
|
|
|
|
|
- Write the wtmp shutdown entry without halting the system:
|
|
|
|
|
|
|
|
`halt --wtmp-only`
|