LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-19-2003, 12:03 PM   #1
insane_jester
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Rep: Reputation: 0
Exclamation The one the only POP QUIZ!!!! New version 5.6.2.3.3


OK this was the from that last quiz i gave you and sorry to say i didn't finish putting it up and my connection was going to cut so i just clicked on accept and then edited it when i came back which it never showed my edit! So decided to just make a new one and post it up for you wonderful people.

Take key hint that this was based apon Mandrake and Slackware.

-----------------------------------------------------------------------------------
Old test
-----------------------------------------------------------------------------------

Ok here are the questions. Hope someone has the answers correctly known. Based apon mandrake & slackware.

1.) The /etc/ ______________ file contains the image and partition information for every operating system that can booted from LIlo.

2.) The _________ process, which usually has the processID of 1 (one), is the parent of all processes running ont he Linux System.

3.) The _________ command is used to display all network interfaces configured on the system.

4.) The /etc/ ___________ file contains the various run-levels used by the init process.

5.) Ina secure environment, the passwords for all users is stored in the /etc/ _______ file, instead of the /etc/passwd file.

6.) A ___________ is a program that translates user commands into operating system instructions.

7.) The ___________ environment variable specifies where the systems looks for executables or commands.

8.) The __________ command must be run to update the MBR whenever the partition table is modified.

9.) Besides using a Bios password, a password can also be added in the /etc/ _________ file to prevent un-authorized users from booting a Linux Image.

10.) In general, in order to modify any file in the /etc/ directory, you must be logged in as ____________ or be a member of the root group.

Section 2!

1,) when the timeout statement is either removed or commented out from the lilo.conf file, LILO

a.) waits indefintely for user input before booting

b.) boots the default image automatically without waiting for user input

c.) waits for the default of 5 seconds only before booting

d.) None of the above

2.) All of the following programs can be used to modify the /etc/lilo.conf file except:

a.) vi
b.) emacs
c.) starOffice
d.) pico <--yes a option d sorry about that but this should solve your controversy!
------------------------------------------------------------------------------------
New section
------------------------------------------------------------------------------------

3.) in both slackware and mandrake, the following is the default shell program:

a.) /bin/bash
b.) /bin/ksh
c.) /bin/tcsh
d.) all of the above

4.) User specific environment files are located in:

a.) /etc directory
b.) the user's home directory
c.) /root directory
d.) /profile directory

5.) In order for the Command Line Interpreter to look for executables and commands located in the users current working directory, the following must be added to the PATH enviornment variables:

a.) $PWD
b.) dot(.)
c.) astrisk (*)
d.) none of the above

6.) During the boot process, the partition table is ready by:

a.) LILO
b.) BIOS
c.) INIT
d.) none of the above

7.) The main reason why many Linux distributions don't add the current directoy (.) to the $PATH variable is:

a.) to prevent viriuses planted in the current directory from being executed accidentally

b.) to differentiate executables from configuration files which usually begins with a dot (.)

c.) to prevent file names from being expanded un-necessarily

d.) all of the above

8.) The PS1 variable contains the:

a.) password option for a given user
b.) prompt presented to the user after login
c.) present session number of the user
d.) none of the above

9.) When running a task in the foreground, the following key sequence can be used to suspend the task and put it in the background mode:

a.) CTRL-X bg <enter>
b.) CTRL-S bg <enter>
c.) CTRL-C bg <enter>
d.) CTRL-Z bg <enter>

10.) The following command can be used to display the list of currently running processes in priority order:

a.) jobs
b.) top
c.) prty
d.) level

11.) Which of the following comamnds can be used to change the priority of a running process?

a.) top
b.) bash
c.) ps
d.) renice

------------------------------------------------------------------------------------
Using the following coding scrpit-1 answer the 3 following questions

#!/bin/bash
#script-1
#add user account john

/bin/mkdir /home/john
/sbin/useradd -g users -d /homejohn -s /bin/bash john
/sbin/passwd john


Note: might be easier to do in slackware!

------------------------------------------------------------------------------------

12.) When script-1 above is executed by the root user, the owner of the /home/john directory will be:

a.) john
b.) users
c.) root
d.) none of the above

13.) When script-1 above is executed by the root user, the group of the /home/john directory will be:

a.) root
b.) users
c.) john
d.) none of the above

14.) In order for the user john to be able to login after script-1 is executed, the ownership of the /home/john directory must be changed from:

a.) john to root
b.) root to john
c.) john to users
d.) users to john

------------------------------------------------------------------------------------
Using yet another script solve the following question!

By the way its the final one its worth 30pts where all the rest are only 5pt questions

have fun!

#!/bin/bash
#script-2
#aliases
alias woman=xman
alias ww = man
------------------------------------------------------------------------------------

When script-2 above is executed and the user types the "ww man" command, the system will display:

a.) manual pages for the man command
b.) manual pages in graphical mode
c.) manual pages beginning with the ww only
d.) all man pages except those beginning with the letters ww

You have plenty of time to go and find the answers for i wont tell you until 3 weeks have passed. starting from today which is April 19th 2003

Hope you love my little quiz's.. more to come later.

Insane jester
 
Old 04-19-2003, 01:42 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
have you found found our own real quiz section? http://www.linuxquestions.org/questions/quiz.php

I'm sure jeremy would be more than happy to add your to it if you ask him to...
 
Old 04-19-2003, 02:01 PM   #3
insane_jester
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Original Poster
Rep: Reputation: 0
why not to have it in the quiz section

Yeah i have thought about putting it up in the quiz section but i thought most people wouldn't even try it their and besides it is more fun to see how many people say or agree with one of the answers instead of just finding out what the percentage was. after three weeks i will see if i can have it placed in the quiz section. But until then its more fun this way.

Thanks for the tid bit though.

Insane jester
 
Old 05-20-2003, 05:18 PM   #4
bluenirve
Member
 
Registered: May 2003
Distribution: Slackware 10
Posts: 56

Rep: Reputation: 15
hey,
I think this is right, so correct me if I'm wrong...
there an is error in the code (the last problem)... it should be:
#!/bin/bash
#script-2
#aliases
alias woman=xman
alias ww=man

(Notice the 2 spaces gone before and after the = on line 5)
 
Old 05-20-2003, 06:23 PM   #5
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Never saw those quizzes before. Boy, I did real bad on the Slackware one. I've never used it before and I guess that means I shouldn't even try huh?

If you make a quiz, how do submit it? Do you have to be a mod?
 
Old 05-20-2003, 06:32 PM   #6
insane_jester
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Original Poster
Rep: Reputation: 0
NO sorry that is how it should be. Really it doesn't matter if there is the space or not. Atleast i never had a problem doing it either way.
 
Old 05-20-2003, 06:32 PM   #7
bluenirve
Member
 
Registered: May 2003
Distribution: Slackware 10
Posts: 56

Rep: Reputation: 15
ok, I ran it and had problems, so whatever
 
Old 05-20-2003, 06:35 PM   #8
insane_jester
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Original Poster
Rep: Reputation: 0
In responce to your question Crashed again, i have never really submitted a quiz to there quiz section for i found you get more open answers from doing it this way. And people help each other out, But i'm sure if you ask acid_kewpie She'll be able to tell you for she is a Mod. I'm just a newbie whom came on to ask of your knowledge. But i've been a linux user of many diffrent builds for a while now. Around 3 years i believe i don't remember. Well that is your best option that i can give.
 
Old 05-20-2003, 06:38 PM   #9
insane_jester
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Original Poster
Rep: Reputation: 0
I did my test on linux Mandrake forgot the version lol, with slackware 5, and with Red Hat 8.. Either way you do it the result should be the same. That your answer will be that you get the answer of (A)
 
Old 05-20-2003, 06:40 PM   #10
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
acid is not a she, acid is a "he"

i think his signature says ...Chris
 
Old 05-20-2003, 06:40 PM   #11
insane_jester
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Original Poster
Rep: Reputation: 0
By the way i do have another half of this quiz out there somewheres. IT gives this half and the other half of the quiz. Be sure to check it out. IF you want the Answers to check yourself send me an email at Jester_to_the_insane@yahoo.com Asking for answers to The Linux Quiz. Be sure to include that information in your subject line.
 
Old 05-20-2003, 06:43 PM   #12
insane_jester
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Lol i was typing fast just guessed sorry Chris. But i still think it might be a she for chris can be a used as a girl's name. And something about Kewpie's and girls.. Just jumped to think its a girl for kewpies are angels and they are dolls. But who knows. I'm sure acid_kewpie Will correct me if i'm wrong lol.
 
Old 05-20-2003, 06:48 PM   #13
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
then i think should go to the members profile and check out his website
 
  


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
Distribution Quiz TGWDNGHN Linux - Distributions 3 10-06-2005 03:37 PM
New Quiz? neilcpp LQ Suggestions & Feedback 9 03-08-2004 09:51 PM
New Quiz - vi jeremy Programming 5 11-26-2003 10:39 AM
Pop quiz test yourself! insane_jester Linux - Newbie 4 04-18-2003 11:47 PM
quiz nautilus_1987 LQ Suggestions & Feedback 12 09-21-2002 09:35 AM


All times are GMT -5. The time now is 06:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration