linux 添加 $path
# vim /etc/profile
在文档最后,添加:
export PATH="/usr/local/src/bin:$PATH"
保存,退出,然后运行:
#source /etc/profile
不报错则成功。
没有无缘无故的荣耀
赞助我写出更好的博客
![](https://images2015.cnblogs.com/blog/622406/201705/622406-20170511221703066-881071417.jpg)
赞助我写出更好的博客
# vim /etc/profile
在文档最后,添加:
export PATH="/usr/local/src/bin:$PATH"
保存,退出,然后运行:
#source /etc/profile
不报错则成功。