修改/etc/profile后command not found

export SPARK_HOME=/opt/spark1.3
export PATH=$SPARK_HOME/bin:$SPARK_HOME/sbin:$PATH

修改时写错了

直接执行export PATH=/bin:/usr/bin:/usr/local/bin
然后再执行
source /etc/profile

猜你喜欢

转载自wangqiaowqo.iteye.com/blog/2234384