Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-25-2003, 02:38 AM
|
#1
|
Member
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263
Rep:
|
rc5.d directory listing...
OK so I've had a first look at my rc5.d directory, and it contains the following files:
K05saslauthd
S05kudzu
S14nfslock
S28autofs
S85gpm
S97rhnsd
K20nfs
S08iptables
S17keytable
S55sshd
S90crond
S98wine
K24irda
S09isdn
S20random
S56rawdevices
S90cups
S99local
K35vncserver
S10network
S24pcmcia
S56xinetd
S90xfs
K74ntpd
S12syslog
S25netfs
S60vsftpd
S95anacron
K95firstboot
S13portmap
S26apmd
S80sendmail
S95atd
From running ls-l I can see these are links to script files for initialising various services; but why the 'S80', 'K95' etc? What do they mean?
|
|
|
06-25-2003, 04:00 AM
|
#2
|
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120
Rep:
|
K means, in this particular case for run level five, if the service is running kill it and and S the opposite start it. The numbers are the priority/order in which they are run.
You've a few turned on you could probably turn off.
|
|
|
06-25-2003, 05:58 AM
|
#3
|
Member
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263
Original Poster
Rep:
|
Thanks for that... presumably when the system starts, there is nothing for the 'K' entries to do?
|
|
|
06-25-2003, 07:07 AM
|
#4
|
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120
Rep:
|
From my understanding they are still processed but yeah, if it's from start up they'll exit without killing anything.
|
|
|
06-25-2003, 08:29 AM
|
#5
|
Member
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263
Original Poster
Rep:
|
Cheers...
Hope the weather is as nice where you are as it is in Ayrshire today!
|
|
|
06-25-2003, 08:55 AM
|
#6
|
Member
Registered: Jan 2003
Location: Sydney, Australia
Distribution: FedoraCore
Posts: 105
Rep:
|
Ok cool so the rc.d directory sets what services start at runlevel 5. The K before the service kills the service whilst the s means to start a service.
So I can rename each service like K35vncserver to S35vncserver to start the service on runlevel 5? For Red Hat 9.
Sweet! Learned something I wanted to then. Thanks.
Last edited by lhiggins; 06-25-2003 at 08:57 AM.
|
|
|
06-25-2003, 09:12 AM
|
#7
|
Member
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263
Original Poster
Rep:
|
Remember also that these are just links to the real scripts - e.g:
S99local is merely a link to /etc/rc.local
Dave
|
|
|
06-25-2003, 09:19 AM
|
#8
|
Member
Registered: Jan 2003
Location: Sydney, Australia
Distribution: FedoraCore
Posts: 105
Rep:
|
Cool. Thanks mate. I will have a play.
|
|
|
06-25-2003, 09:54 AM
|
#9
|
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120
Rep:
|
I wouldn't recommend changing them by hand - use the chkconfig command to do it for you and keep it all straight or use the services panel in gnome or KDE equivalent if thats what your using.
Quote:
Hope the weather is as nice where you are as it is in Ayrshire today!
|
Yup the sun has shown up here for the day, probably just a fleeting visit as usual - so back to the garden....
|
|
|
06-26-2003, 04:29 AM
|
#10
|
Member
Registered: Jan 2003
Location: Sydney, Australia
Distribution: FedoraCore
Posts: 105
Rep:
|
Cool. I would rather like to know everything from the command line instead of using a GUI. I would like a strong knowledge of Linux/Unix for future career opportunities so I want to use everything from the command prompt.
Thanks for the info. I will have a play and see what I can do!
|
|
|
All times are GMT -5. The time now is 08:04 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|