急急,linux设置完环境变量,ls vim source 等好多命令都不能用了?怎么才弄回来
[root@web1bin]#echo$PATH/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/jre/bin:/java/jdk1.7....
[root@web1 bin]# echo $PATH
/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/jre/bin:/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/jre/bin:/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/jre/bin:/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/jre/bin:/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/jre/bin:/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/jre/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/java/jdk1.7.0_67/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/mysql/bin:/mysql:$JAVA_HOME/bin:$PATH:/root/bin:/root/bin:/root/bin:/usr/local/mysql/bin:/mysql:/root/bin:/root/bin:/root/bin:/root/bin:/bin/bash:/sbin 展开
/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/jre/bin:/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/jre/bin:/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/jre/bin:/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/jre/bin:/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/jre/bin:/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/bin:/java/jdk1.7.0_67/jre/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/java/jdk1.7.0_67/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/mysql/bin:/mysql:$JAVA_HOME/bin:$PATH:/root/bin:/root/bin:/root/bin:/usr/local/mysql/bin:/mysql:/root/bin:/root/bin:/root/bin:/root/bin:/bin/bash:/sbin 展开
1个回答
展开全部
你配置的哪个文件?把相关的改动都删去,重启一次 bash 就行了。
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询