Centos7 未找到命令.. 解决方案

来源:互联网 发布:windows 菜单栏 编辑:程序博客网 时间:2024/06/06 06:38

配置文件写错:修改之前的配置文件将其还原

使用绝对命令

/usr/bin/vim file
 PATH=$PATH:$HOME/bin:/sbin:/usr/bin:/usr/sbin
source /home/hadoop/.bash_profile

大功告成

原创粉丝点击