# 系统级
/etc/profile
/etc/bash.bashrc
/etc/environment
# 用户级
~/.profile
~/.bashrc
~/.bash_profile
~./bash_login
~/.bash_logout
~/.pam_environment
# 设定顺序:
/etc/profile -> (~/.bash_profile | ~/.bash_login | ~/.profile) -> ~/.bashrc-> /etc/bashrc -> ~/.bash_logout
# 修改变量后要加:(xxxx为设定的配置文件)
source xxxx