Linux 关机 shutdown -h now 提示 bash:command not found
2015-11-05 10:48
716 查看
使用普通用户 test 登入的情况下 无法使用shutdown -h now。
可以切换 su - root 再使用 shutdown -h now。
su root 和 su - root 的区别:
前者是 不切换环境,后者是切换环境。
可以切换 su - root 再使用 shutdown -h now。
su root 和 su - root 的区别:
前者是 不切换环境,后者是切换环境。
相关文章推荐
- linux:Bash常用快捷键
- linux:/用户/.bashrc 保存别名永久生效
- 几个常用的linux快捷键和shell知识
- RHCE 系列(四): 使用 Shell 脚本自动化 Linux 系统维护任务
- shell 连续执行命令
- SHELL常用命令与脚本
- xshell
- .NET通过PowerShell操作ExChange为用户开通邮箱教程
- DOS pause-like command in Bash
- Shell case esac语句
- shell中的条件判断、参数以及变量替换
- -bash: crontab: command not found
- Shell入门之概念
- Shell入门之概念
- shell 的位置参数
- linux下编译make文件报错“/bin/bash^M: 坏的解释器:没有那个文件或目录”
- 如何通过PowerShell部署和管理Farm Solution?
- Bash . configure permission denied错误
- shell alias
- 升级10.11后使用CocoaPod出现-bash: pod: command not found 解决办法