bashrc 、~/.bashrc、profile、~/.profile

Interactive (non-login) shells, then the config is read from these files:

  $HOME/.bashrc

For login shells, the config is read from these files:

  /etc/profile (Always sourced)
  $HOME/.bash_profile(the rest of these files are checked in order until one is found, then no others are read)
  $HOME/.bash_login
  $HOME/.profile

~/.bash_profile only load once after login

打赏一个呗

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦