|
|
发表于 2007-1-18 12:39:26
|
显示全部楼层
Post by qisuker
Linux系统启动:
首先是开机序列,调用核心的init程序
然后启动/etc/init.d中的程序
...
然后是系统命令
/etc/bashrc
/etc/profile
最后是用户命令
~/.bashrc
~/.profile
所有的init脚本启动后,运行/etc/rc.d/rc.local
哈哈,坐沙发
如果同时存在
/etc/bashrc
/etc/profile
~/.bashrc
~/.profile
会以
~/.bashrc
~/.profile
优先 :-P |
|