|
发表于 2008-5-9 03:33:27
|
显示全部楼层
Post by 特务;314733
昨晚查了一下,1965年的MIT CTSS系统上开始出现"runcom"概念,"run com"自己是run commands的缩写,就是把一些命令全放在一个文件里一起执行,大致相当于dos下的.bat文件。而rc又是runcom的缩写。
to add to this in the etc/rc.d folder there is folders, such as rc.0 or rc.6. In each of these folder are programs like the x server for gui, or other essential programs. In Linux there is runlevel, just like how windows have safe mode. there are 7 levels and in the rc.x folders are the programs that is going to be initialized when you run a level.
0 /etc/rc.d/rc0.d/ shutdown/halt system
1 /etc/rc.d/rc1.d/ Single user mode
2 /etc/rc.d/rc2.d/ Multiuser with no network services exported
3 /etc/rc.d/rc3.d/ Default text/console only start. Full multiuser
4 /etc/rc.d/rc4.d/ Reserved for local use. Also X-windows (Slackware/BSD)
5 /etc/rc.d/rc5.d/ XDM X-windows GUI mode (Redhat/System V)
6 /etc/rc.d/rc6.d/ Reboot
more information on this site.
http://www.yolinux.com/TUTORIALS/LinuxTutorialInitProcess.html |
|