LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 12-14-2015, 05:45 AM   #1
osama.mansoor
Member
 
Registered: Oct 2015
Posts: 43

Rep: Reputation: Disabled
Basic 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 ...........................

Last edited by osama.mansoor; 12-14-2015 at 05:51 AM. Reason: Add 1 Question
 
Old 12-14-2015, 06:17 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Pi OS & Android
Posts: 11,889

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
Quote:
Originally Posted by osama.mansoor View Post
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 View Post
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 View Post
Question 3: What does rc1.d & rc0.d and so on contains
Symlinks to the scripts for runlevel 0 & 1
 
Old 12-14-2015, 07:03 AM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,982
Blog Entries: 13

Rep: Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101Reputation: 4101
@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.
 
Old 12-14-2015, 10:10 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,190

Rep: Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476Reputation: 6476
Quote:
Originally Posted by osama.mansoor View Post
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GnuCash, KMyMoney - basic, basic questions - please help if you can. brjoon1021 Linux - Software 3 10-20-2008 06:27 PM
basic questions on hostname and domain name + related postfix questions Moebius Linux - Newbie 7 09-04-2007 11:50 AM
Some REALLY basic questions ljmace1953 Linux - Newbie 3 01-17-2006 12:54 PM
A Few Basic Questions philipogletree Linux - Newbie 4 07-21-2005 09:51 PM
Some Basic Questions Instantly Linux - Newbie 1 01-10-2005 10:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration