Chapter 4 Flashcards
Which of the following is not a standard command for Red Hat Enterprise Linux service scripts?
kill
What runlevel is traditionally referred to as single user mode?
None of the above
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@
-
Which of the following best describes how the gpm service would respond when changing from runlevel 2 to runlevel 5?
The gpm service, which should not have been running, will be started.
Which of the following best describes how the gpm service would respond when changing from runlevel 5 to runlevel 6?
The gpm service, which should have been running, will be stopped.
What directory contains Red Hat Enterprise Linux service scripts?
None of the above
Which of the following command lines would immediately start the newly installed httpd service?
service httpd start
Which of the following command lines would configure the newly installed httpd service to start automatically upon reboots?
chkconfig httpd on
Which of the following command lines would list the runlevel configuration for all services?
chkconfig –list
Which of the following command lines is equivalent to the command line service smb status?
/etc/rc.d/init.d/smb status
Which of the following commands would reinitialize the crond daemon, but not kill it and start a new one?
service crond reload