Linux命令之关机重启命令用法汇总
一,shutdown命令
在linux操作系统下,shutdown是关机的命令。
执行此命令时,需要带上一些参数,比如:shutdown -h now 立刻关机的命令。
但是,在终端上运行这样的命令时Linux有时并不关机,这个不仅令是root用户的问题,要将用户在切换到root时,使用su - root 输入密码后,再运行shutdown -h now,然后linux就可以关机了。
问题:
Linux shutdown命令无效,返回提示: command not found。
原因在于:普通用户没有关机的权限,必须调用...