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


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.? would you use the service command to manually kill the bigd daemon.? would you use chkconfig to set the bigd daemon to start at runlevels 2 and 3.? would you would you use chkconfig to remove bigd from all runlevels.? would you use telinit to switch to runlevel 5? 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
Senior Member
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
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 :


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

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
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
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
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

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

All times are GMT -5. The time now is 07:35 AM.

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