一编辑配置文件
vim ~/.bash_profile
二/生效文件
source 或者. ~/.bash_profile
让所有用户的PATH环境变量的值多出一个路径,例如/usr/local/apache/bin
原文:https://www.cnblogs.com/chenxi-hxl/p/12321371.html