# 系統(tǒng)級
/etc/profile
/etc/bash.bashrc
/etc/environment
# 用戶級
~/.profile
~/.bashrc
~/.bash_profile
~./bash_login
~/.bash_logout
~/.pam_environment
# 設(shè)定順序:
/etc/profile -> (~/.bash_profile | ~/.bash_login | ~/.profile) -> ~/.bashrc-> /etc/bashrc -> ~/.bash_logout
# 修改變量后要加:(xxxx為設(shè)定的配置文件)
source xxxx