LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Pop quiz test yourself! (https://www.linuxquestions.org/questions/linux-newbie-8/pop-quiz-test-yourself-55766/)

insane_jester 04-18-2003 09:58 PM

Pop quiz test yourself!
 
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 execturables or commands.

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

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

poloktim 04-18-2003 10:52 PM

Re: Pop quiz test yourself!
 
1.) The /etc/ ______________ file contains the image and partition information for every operating system that can booted from LIlo.
A). /etc/lilo.conf

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

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

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

5.) Ina secure environment, the passwords for all users is stored in the /etc/ _______ file, instead of the /etc/passwd file.
A). I think it's /etc/shadow

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

7.) The ___________ environment variable specifies where the systems looks for execturables or commands.
A). I have no idea.

8.) The __________ command must be run to update the MBR whenever the partition table is mosdified.
A). lilo (?)

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.
A). /etc/lilo.conf

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.
A). You gave this away when you said the group name. You must be logged in a root or su or in the sudoers list with the right permissions.

Section 2!

1,) when the timeout statement is either removed or commented out from the lilo.conf file, LILO
A). c.) waits for the default of 5 seconds only before booting.

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

Note: the answers were based on a Debian system. But still most of them should be the same (maybe not ifconfig).

cuckoopint 04-18-2003 11:24 PM

well,

4. I think he meant /etc/inittab
6. I thought this was vaguely misleading question referring to a compiler.
; )
7. PATH
10. sudo would not work - you can execute vim /etc/lilo.conf, but permissions won't let you read/edit it.
; )

section 2
lilo will wait
for a long time
until you get a brainfart
or PSU burns out
I thought star office could edit normal txt files....beats me.

you are indeed a insane_jester

poloktim 04-18-2003 11:33 PM

Thanks. I wasn't too sure about my answers, but the only way I'd learn right.

But I could've sworn 6 was a shell, but reading the 'vague' part of your answer, I see how it most likely was a compiler.

Ah, ok because I've seen in other threads where it just says L... I... L... O... for five seconds then loads the default operating system pressing shift will bring you into the boot menu, whereas my lilo shows a boot menu for 15 seconds and not L... I... L... O... and it shows all the bootable partitions (Debian/WinXP). I thought that if you removed the timeout then it would probably do that. But I know now it wait... for a long time... until you get a brainfart... or PSU burns out.

I assumed vi and emacs could and went with StarOffice with process of elimination.

cuckoopint 04-18-2003 11:47 PM

Quote:

I assumed vi and emacs could and went with StarOffice with process of elimination.
vi and emacs are text editors. The only problem with word processors is that they have a tendency to insert their own little comments (that's why you have proprietary code like MS Word which can only be viewed by MS Word - because its a binary file, with 'comments' it only understands). But I would think that Star Office can also handle normal text files, w/o adding in its own 2 cents (usually the 'comments' are of the formatting sort - two inches here, that's bold, etc.) Maybe it's just a trick question?

As for that 6 - I don't know what that was. i assumed 'commands' was 'programmer's code' and 'operating system instructions' was machine/assembly code. But that's a whole lot of assumptions, eh?


All times are GMT -5. The time now is 08:12 PM.