mirror of https://github.com/Black-Gold/Learn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
441 B
14 lines
441 B
# **poweroff**
|
|
|
|
|
|
|
|
```bash
|
|
--halt Halt the machine
|
|
-p --poweroff Switch off the machine
|
|
--reboot Reboot the machine
|
|
-f --force Force immediate halt/power-off/reboot(不调用shutdown)
|
|
-w --wtmp-only Don't halt/power-off/reboot, just write wtmp record(并不实际关闭系统,只是写入/var/log/wtmp文件中)
|
|
-d --no-wtmp Don't write wtmp record
|
|
--no-wall Don't send wall message before halt/power-off/reboot
|
|
```
|