Chapter 4 Flashcards

1
Q

Which of the following is not a standard command for Red Hat Enterprise Linux service scripts?

A

kill

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What runlevel is traditionally referred to as single user mode?

A

None of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Use the following transcript to answer the next 2 questions.

[root@station root]# ls -F /etc/rc.d/rc?.d/gpm
/etc/rc.d/rc0.d/K15gpm@ /etc/rc.d/rc3.d/S85gpm@ /etc/rc.d/rc6.d/K15gpm@
/etc/rc.d/rc1.d/K15gpm@ /etc/rc.d/rc4.d/S85gpm@
/etc/rc.d/rc2.d/K15gpm@ /etc/rc.d/rc5.d/S85gpm@

A

-

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which of the following best describes how the gpm service would respond when changing from runlevel 2 to runlevel 5?

A

The gpm service, which should not have been running, will be started.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of the following best describes how the gpm service would respond when changing from runlevel 5 to runlevel 6?

A

The gpm service, which should have been running, will be stopped.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What directory contains Red Hat Enterprise Linux service scripts?

A

None of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which of the following command lines would immediately start the newly installed httpd service?

A

service httpd start

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which of the following command lines would configure the newly installed httpd service to start automatically upon reboots?

A

chkconfig httpd on

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which of the following command lines would list the runlevel configuration for all services?

A

chkconfig –list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which of the following command lines is equivalent to the command line service smb status?

A

/etc/rc.d/init.d/smb status

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which of the following commands would reinitialize the crond daemon, but not kill it and start a new one?

A

service crond reload

How well did you know this?
1
Not at all
2
3
4
5
Perfectly