Linux - NewbieThis 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.
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.
Question1:I need to understand description of this commands.
ls -l /etc/init.d
Asks for a long directory listing of the directory /etc/init.d which exists on some unixes.
Quote:
Originally Posted by osama.mansoor
Question2:
init = A brief name for sysvinit, the older standard boot process. Others worth noting are systemd and initng
rc.d = Nothing. Usually, in /etc/rc.d there is rc0.d/ ... rc6.d/ for the various runlevels, and init.d for the scripts. The directories in rc0.d-rc6.d have only symlinks to these scripts.
chkconfig is a red hat utility program. Various systems differ wildly, and it is better to learn the one you have to(your own).
Quote:
Originally Posted by osama.mansoor
Question 3: What does rc1.d & rc0.d and so on contains
@OP I see you've been given answers. And they are correct. A question I have is whether or not there is any coherence for all this. The impression I get is that you've been guided to run that 'ls' command and then observe the various things you see under that directory structure. Are you just asking these questions to fill in blanks for an assignment, or are you exploring your system and trying to learn about it more. I suggest that you go to your /etc directory, issue:
Code:
ls -l rc*
Observe what you see there and then explore the /etc/init.d directory to understand what many of the links are pointing too. If you have more detailed questions, please show that you have issued these commands and attempted to find some answers on your own versus just asking. Because while you may get direct, and correct answers, if you don't understand either the answers or the questions, then what's the point?
Perhaps you should look into the Site FAQ to aid you in understanding how to better formulate your questions.
Question1:
I need to understand description of this commands.
ls -l /etc/init.d
Question2:
Is below statements correct ?
init = system level , at boot time
rc.d = application level , After on system , all scripts are here
Application Level control services manage by rc.d , after starting it reads rc.d To manage rc.d a utility is chkconfig
Question3
Question : What does rc1.d & rc0.d and so on contains ...........................
...and I'll follow your questions up with:
Question 4: Is this homework? Because it sure sounds like it.
Question 5: Did you read the "Question Guidelines" link in my posting signature, where it mentions you doing some basic research on your own before post?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.