a. /etc/profile b. /etc/paths c. ~/.bash_profile d. ~/.bash_login e. ~/.profile f. ~/.bashrc
Wherein a and b are系统级别
, the system will start loading, the user is connected to the remaining other.
c, d, e in accordance with the front to back顺序读取
, if c file exists, the next few documents will be ignored不读了
, and so on.
~ / .bashrc no such rule, it is loaded bash shell when opened.
mac system environment variables
Guess you like
Origin www.cnblogs.com/FengZiQ/p/11621845.html
Recommended
Ranking