bash环境变量读取顺序:

交互式登录的用户:
/etc/profile --> /etc/profile.d/*.sh --> ~/.bash_profile --> ~/.bashrc --> /etc/bashrc


非交互式登录的用户:
 ~/.bash_profile --> ~/.bashrc --> /etc/bashrc --> /etc/profile.d/*.sh

 bash环境变量读取顺序

相关文章:

  • 2021-11-25
  • 2022-02-26
  • 2021-07-13
  • 2021-09-19
  • 2022-12-23
  • 2022-03-02
  • 2021-08-22
  • 2022-12-23
猜你喜欢
  • 2021-11-21
  • 2021-11-28
  • 2022-12-23
  • 2021-11-27
  • 2021-06-09
  • 2021-10-08
  • 2022-12-23
相关资源
相似解决方案