Get the A+ 4 Real e-book for your own computer.
Click Here!

Custom Search







Table Of Contents  CertiGuide to A+ (A+ 4 Real)
 9  Chapter 5: The Linux Operating System
      9  The Major Components and Interfaces of Linux and Their Functions
           9  /etc

Previous Topic/Section
/etc/passwd
Previous Page
Pages in Current Topic/Section
1
Next Page
/etc/xinetd.d
Next Topic/Section

/etc/rc.d Run Level Directories

Run levels have various processes that should be started or stopped when entering those run levels. This is managed through entries in directories associated with each run level: /etc/rc0.d for run level zero, /etc/rc1.d for run level 1 and so forth. This is accomplished by adding links to scripts located in the directory /etc/rc.d/init.d. The processes are started or stopped according to a link whose name starts with either a k (stop the process) or a s (start the process) followed by a number (to control the order in which the processes are stopped or started) and the name of the script file in the /etc/rc.d/init.d directory. A partial example of one of these directories is:

lrwxrwxrwx 1 root root 14 Mar 24 12:15 K84rpd->../init.d/rpd

lrwxrwxrwx 1 root root 16 Mar 24 12:15 K84rgd->../init.d/rgd

lrwxrwxrwx 1 root root 15 Mar 24 12:15 K85zba->../init.d/zba

lrwxrwxrwx 1 root root 17 Mar 24 12:01 K92ipm->../init.d/ipm

lrwxrwxrwx 1 root root 19 Mar 24 18:52 K95fbt->../init.d/fbt

lrwxrwxrwx 1 root root 23 Mar 24 11:31 S00mde->../init.d/mde

lrwxrwxrwx 1 root root 15 Mar 24 11:30 S05kdz->../init.d/kdz

lrwxrwxrwx 1 root root 19 Mar 24 12:01 S08ip6->../init.d/ip6

lrwxrwxrwx 1 root root 18 Mar 24 12:01 S08ipc->../init.d/ipc

lrwxrwxrwx 1 root root 18 Mar 24 11:32 S08ipt->../init.d/ipt

The chkconfig command can be used to add entries and check the directory to see if it is setup properly.

Note that the rc.d directories may vary or even not exist in some distributions.


Previous Topic/Section
/etc/passwd
Previous Page
Pages in Current Topic/Section
1
Next Page
/etc/xinetd.d
Next Topic/Section

If you find CertiGuide.com useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider buying an inexpensive PDF equivalent of the CertiGuide to A+ (A+ 4 Real) from StudyExam4Less.com. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

CertiGuide to A+ (A+ 4 Real) (http://www.CertiGuide.com/apfr/) on CertiGuide.com
Version 1.0 - Version Date: March 29, 2005

Adapted with permission from a work created by Tcat Houser et al.
CertiGuide.com Version Copyright 2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.