CentOS 的shutdown不能用~~ command not found
来源:互联网 发布:mac口红圣诞节限量版 编辑:程序博客网 时间:2024/05/16 04:47
解决方法:
设置环境变量
#echo $PATH/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/sbin;/home/wang/bin //就是没有/sbin这个路径,所以会发生如上错误。
#export PATH=/sbin:"$PATH" //方法一,把/sbin加入到路径中去
#PATH="$PATH":/sbin //方法二 同方法一一样的功能
#export PATH //方法二
#echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
- CentOS 的shutdown不能用~~ command not found
- shutdown: command not found
- telnet不能用,提示:-bash: telnet: command not found
- telnet不能用!!!提示:-bash: telnet: command not found
- telnet不能用!!!提示:-bash: telnet: command not found
- telnet不能用!!!提示:-bash: telnet: command not found
- telnet不能用!!!提示:-bash: telnet: command not found
- 解决linux下"bash:shutdown:command not found"的解决方法
- Linux问题解决:bash,shutdown command not found
- centOS scp: command not found
- 【CentOS】ifconfig command not found
- Minimal 安装模式的centos -bash:***: command not found
- centos下bash: XXX: command not found的解决方法
- Centos提示-bash: make: command not found的解决办法
- Centos出现-bash: unzip: command not found的解决办法
- Centos命令行报bash:.....:command not found的解决办法
- CentOS下g++: command not found问题的解决
- Centos命令行报bash:.....:command not found的解决办法
- FlashBuilder的安装和配置
- MSSQL隔离级别理解
- free 命令结果完全剖析
- Winform 打印PDF顺序混乱,获取打印队列
- 从truncate表的hang现象引出来的oracleBUG 13023854
- CentOS 的shutdown不能用~~ command not found
- 使用WDK编译环境编译应用程序build命令(动态库程序)
- EL表达式中fn函数
- 换包的风险-mybatis
- HDU 1241 DFS
- 从0开始学习quantum之2:WSGI协议
- hdu 1016 Prime Ring Problem(DFS)
- 时钟
- 得到java异常printStackTrace的详细信息