Linux Shell Run Configure 关系

  1. Login/Non-Login Shell
  2. Interactive/Non-Interactive Shell

login shell

`/etc/profile` 
`~/.bash_profile`
`~/.bash_login`
`~/.profile` 

按序加载

Non-Login Interactive Shell

`~/.bashrc`

Non-Login Non-Interactive Shell

`$BASH_ENV`
posted @ 2019-08-30 16:31  melt  阅读(305)  评论(0)    收藏  举报