LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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


Closed Thread
  Search this Thread
Old 03-09-2009, 10:23 PM   #1
jorge grijalba
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
Wink linux questions


1.what script contains the default runlevel?
2.the init scripts for each runlevel are contained in which directory tree?
3.what would you name the link to an init script that would start the fictitious bigd daemon early in the boot process?
4.what would you name the link to kill the same daemon.?
5.how would you use the service command to manually kill the bigd daemon.?
6.how would you use chkconfig to set the bigd daemon to start at runlevels 2 and 3.?
7.how would you would you use chkconfig to remove bigd from all runlevels.?
8.how would you use telinit to switch to runlevel 5?
9.how would you tell Linux to shut down in five minutes ( not delay five minutes) with the message, "The system will shut down in 5 minutes. log off now"!?


thansk to any one who is able to help me with these questions.
 
Old 03-09-2009, 10:48 PM   #2
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Blog Entries: 6

Rep: Reputation: 51
1. /etc/rc <tab>
2.Check /etc/inittab
3.Open /etc/rc.local and write the script to run at boot time
4. kill -9 <pid>
5. kill -9 <pid /// You can get through ps for service>
6. chkconfig bigd --level 23 on
7. chkconfig --del bigd
8. Edit the /etc/inittab and Enter :

id:5:initdefault:

9.shutdown -t 5 // You can write it on script for the same
 
Old 03-09-2009, 11:00 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
This looks like a bunch of homework problems. Using this site to cheat on homework is against this sites policy. Finding the answers for yourself is how you learn.
 
Old 03-10-2009, 05:13 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.
 
  


Closed Thread



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
Linux nub! a bunch of questions from a brand new linux user. TooTone Linux - Newbie 19 12-28-2005 06:53 PM

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

All times are GMT -5. The time now is 02:18 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