命令行添加PATH

如何设置PATH

  命令:echo "export PATH=xxxxxx:$PATH" >> ~/.bash_profile

  解释:把"export PATH=xxxxxx:$PATH"输出打印到~/.bash_profile中去。

原文地址:https://www.cnblogs.com/melody-emma/p/4762789.html