|
发表于 2006-7-25 12:54:51
|
显示全部楼层
More precisely, there should be four situations:
1. Interactive: 1a. Login; 1b. non-login.
2. Non-Interactive.
3. Logout.
1. Interactive and login: read in all startup files.
2. Interactive but non-login: only read in ~/.bashrc
3. non-interactive: read no file but source $BASH_ENV if it is there.
4. Logout: read in ~/.bash_logout |
|