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