简单的
poweroff和
poweroff --poweroff发布于 2018-07-02 15:56:53
您可以使用man poweroff命令查看poweroff命令的手册页:
NAME
halt, poweroff, reboot - Halt, power-off or reboot the machine
SYNOPSIS
halt [OPTIONS...]
poweroff [OPTIONS...]
reboot [OPTIONS...]
DESCRIPTION
halt, poweroff, reboot may be used to halt, power-off or reboot the machine.
<...snip...>
-p, --poweroff
Power-off the machine, regardless of which one of the three commands is invoked.正如最后一句所述,halt --poweroff、poweroff --poweroff和reboot --poweroff执行相同的操作。
https://askubuntu.com/questions/1051547
复制相似问题