linux加载配置项时通过下面方式 

 

首先 加载/etc/profile配置

然后 加载/ect/profile.d/下面的所有脚本

然后 加载当前用户 .bash_profile

然后 加载.bashrc

最后 加载 [/etc/bashrc]

 

/etc/profile → /etc/profile.d/*.sh → ~/.bash_profile → ~/.bashrc → [/etc/bashrc]

相关文章:

  • 2021-10-03
  • 2021-12-18
  • 2021-11-05
  • 2022-12-23
猜你喜欢
  • 2021-10-25
  • 2022-01-02
  • 2022-12-23
  • 2021-07-22
  • 2021-10-30
相关资源
相似解决方案