linux中可以在哪些地方增加环境变量

1./etc/environment 

系统级别的,不需要用户登录

2./etc/profile

任何用户,bash

 3.~/.bashrc

当前用户,bash

原文地址:https://www.cnblogs.com/real-bert/p/11782540.html