| 前提 | Shell | 配置文件1 | 配置文件2 | 配置文件3 | 配置文件4 |
|---|---|---|---|---|---|
| Subshell (直接输入sh,ksh,csh,bash命令 或者su) |
sh | ||||
| ksh | |||||
| csh | ~/.cshrc | ||||
| bash | ~/.bashrc | ~/.inputrc | /etc/inputrc | ||
| su - telnet ssh rlogin |
sh | /etc/profile | ${HOME}/.profile | ||
| ksh | /etc/profile | ~/.profile | |||
| csh | ~/.cshrc | ~/.login | |||
| bash | ~/.bash_profile | ~/.bash_login | /etc/profile | ~/.profile |
Shell的配置文件和读取顺序?
0
相关文章