poweroff, halt, reboot: add examples (#5485)
This commit is contained in:
@@ -1,16 +1,24 @@
|
||||
# halt
|
||||
|
||||
> Halt, power-off or reboot the machine.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/halt.html>.
|
||||
> Halt the system.
|
||||
> More information: <https://www.man7.org/linux/man-pages/man8/halt.8.html>.
|
||||
|
||||
- Halt the machine:
|
||||
- Halt the system:
|
||||
|
||||
`halt`
|
||||
|
||||
- Power the machine off:
|
||||
- Power off the system (same as `poweroff`):
|
||||
|
||||
`halt --poweroff`
|
||||
|
||||
- Reboot the machine:
|
||||
- Reboot the system (same as `reboot`):
|
||||
|
||||
`halt --reboot`
|
||||
|
||||
- Halt immediately without contacting the system manager:
|
||||
|
||||
`halt --force --force`
|
||||
|
||||
- Write the wtmp shutdown entry without halting the system:
|
||||
|
||||
`halt --wtmp-only`
|
||||
|
Reference in New Issue
Block a user