全新的 Linux。我需要关闭我的盒子并将其放在我的服务器机房中。这里和到处的帮助似乎对我不起作用:
http://debianhelp.co.uk/shutdown.htm
我得到:
lukepuplett@uktnlx01:~$ poweroff
-bash: poweroff: command not found
lukepuplett@uktnlx01:~$ shutdown
-bash: shutdown: command not found
lukepuplett@uktnlx01:~$ modprobe apm
-bash: modprobe: command not found
lukepuplett@uktnlx01:~$
Run Code Online (Sandbox Code Playgroud)
我还尝试了暂停、重启、离开和请就工作。
gni*_*urf 32
您需要是 root(或使用sudo):
# This halts (shuts down) the computer now
sudo shutdown -h now
# This reboots the computer now
sudo shutdown -r now
Run Code Online (Sandbox Code Playgroud)
阅读关机手册页:man shutdown了解更多信息。
在您提供的链接中,您只是忽略了这句话
只需以 root 身份运行:
小智 5
您需要是 root(或使用 sudo):
要关闭电脑,请使用:
systemctl poweroff
Run Code Online (Sandbox Code Playgroud)
要重新启动电脑,请使用:
systemctl reboot
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
75345 次 |
| 最近记录: |