Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1298187
  • 博文数量: 554
  • 博客积分: 10425
  • 博客等级: 上将
  • 技术积分: 7555
  • 用 户 组: 普通用户
  • 注册时间: 2006-11-09 09:49
文章分类

全部博文(554)

文章存档

2012年(1)

2011年(1)

2009年(8)

2008年(544)

分类:

2008-04-07 17:35:17

Shell的配置文件和读取顺序?

Wikipedia,自由的百科全书

前提 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

参考Rolf Kersten的

取自""
阅读(465) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~