You are right, that *is* a lot to ask :)
If you look in /etc/rc.d/ subdir, you will find a bunch of subdirs labelled
rc0.d, rc1.d, rc2.d, etc, all the way up to rc6.d. The numbers represent
the run levels Linux uses (level 3 is network-enabled but w/o X, level 5 is
network-enabled with X, etc). If you look in one of these subdirs (say
rc5.d), you'll find a bunch of filenames starting with Kxx & Sxx. The K
stands for 'Kill', and the 'S' stands for 'Start'. If you then do 'ls -alF'
on the subdir, you will find that all the files are actually just links to
executable scripts in /etc/rc.d/init.d/. When you bootup your RH Linux
system, all of the 'Sxx' files in rcx.d (where x is the target runlevel) are
run, in numerical order. For instance, I have my system set to boot into
level 3 (see the /etc/inittab file and look for a line that looks like
"id:X:initdefault" to see your default runlevel), then the following
initialization scripts run, in the order shown:
For further reading, I recommend:
Hope this helps,
> hi there, i have a question. i am new to linux but am quite familiar
> with solaris. i have RH5.2 and i just installed it.
> (i) could anyone out there tell me what the boot up sequence is...
> meaning what is the order that the files get executed when linux starts
> and what each file does (for tcsh and bash shells).
> (ii) also... what is the executed file sequence when starting up
> x-windows and what does each file do (preferably afterstep since that is
> what i use).
> i know this is a lot to ask... but it will be very helpful for anyone
> that is new or quazi-new to the linux environment. Thanks alot.