export SPARK_HOME=/usr/local/spark export PATH=$PATH:$SPARK_HOME/bin
bash: export: “path” not a valid identifier
由于“=”两边留有空格所致