bash: export: “path” not a valid identifier [closed]

export SPARK_HOME=/usr/local/spark
export PATH=$PATH:$SPARK_HOME/bin

bash: export: “path” not a valid identifier

由于“=”两边留有空格所致

原文地址:https://www.cnblogs.com/buxizhizhoum/p/9580450.html