ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Linux下出现command not found的解决办法

Linux下出现command not found的解决办法

原创 Linux操作系统 作者:sunhaikuo 时间:2014-06-08 09:18:32 0 删除 编辑
不管是普通用户还是ROOT用户,修改~/.bash_profile文件,在文件最后加上:
export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
保存后再执行source ~/.bash_profile
就可以了

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26097185/viewspace-1177987/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 配置Hadoop1.2.1
请登录后发表评论 登录
全部评论

注册时间:2011-07-26

  • 博文量
    24
  • 访问量
    84454