2016-05-27 11:47:57 -04:00
|
|
|
# halt
|
|
|
|
|
2021-03-25 13:46:40 +01:00
|
|
|
> Halt the system.
|
2023-10-03 08:56:53 +05:30
|
|
|
> More information: <https://manned.org/halt.8>.
|
2016-05-27 11:47:57 -04:00
|
|
|
|
2021-03-25 13:46:40 +01:00
|
|
|
- Halt the system:
|
2016-05-27 11:47:57 -04:00
|
|
|
|
|
|
|
`halt`
|
|
|
|
|
2021-03-25 13:46:40 +01:00
|
|
|
- Power off the system (same as `poweroff`):
|
2020-10-07 13:38:05 +02:00
|
|
|
|
2025-03-13 04:41:47 +02:00
|
|
|
`halt {{[-p|--poweroff]}}`
|
2020-10-07 13:38:05 +02:00
|
|
|
|
2021-03-25 13:46:40 +01:00
|
|
|
- Reboot the system (same as `reboot`):
|
2016-05-27 11:47:57 -04:00
|
|
|
|
|
|
|
`halt --reboot`
|
2021-03-25 13:46:40 +01:00
|
|
|
|
|
|
|
- Halt immediately without contacting the system manager:
|
|
|
|
|
2025-03-13 04:41:47 +02:00
|
|
|
`halt {{[-f|--force]}}`
|
2021-03-25 13:46:40 +01:00
|
|
|
|
|
|
|
- Write the wtmp shutdown entry without halting the system:
|
|
|
|
|
2025-03-13 04:41:47 +02:00
|
|
|
`halt {{[-w|--wtmp-only]}}`
|