其他分享
首页 > 其他分享> > 用户级 .bashrc每次登录失效问题解决

用户级 .bashrc每次登录失效问题解决

作者:互联网

https://www.jianshu.com/p/329138934808
在刚登录Linux时,首先启动 /etc/profile 文件,然后再启动用户目录下的 ~/.bash_profile、 ~/.bash_login或 ~/.profile文件中的其中一个,执行的顺序为:~/.bash_profile、 ~/.bash_login、 ~/.profile。如果 ~/.bash_profile文件存在的话,一般还会执行 ~/.bashrc文件

标签:profile,文件,登录,bashrc,失效,login,bash
来源: https://www.cnblogs.com/hovinlu/p/16423244.html