PATH问题
每次开机都有这句:
-bash: PATH: command not found
我安装了Mysql,Tomcat和JDK,/etc/profile下是
JAVA_HOME=/usr/java/jdk1.5.0
TOMCAT_HOME=/usr/local/tomcat
CLASSPATH==.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$CLASSPATH
PATH=$HOME/bin:$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$TOMCAT_HOME/bin:$PATH
export JAVA_HOME TOMCAT_HOME CLASSPATH PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC
#echo $PATH 看到如下:
/usr/kerberos/sbin:/usr/kerberos/bin:/root/bin:/usr/java/jdk1.5.0/bin:/usr/java/jdk1.5.0/jre/bin:/usr/local/tomcat/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/java/jdk1.5.0/bin:/usr/java/jdk1.5.0/jre/bin:/root/bin
不知道哪里出错了,请大家指教。
------解决方案--------------------以后要仔细点了
------解决方案--------------------mark