The following questions will help you measure your understanding of the material presented in this chapter. As no multiple choice questions appear on the Red Hat exams, no multiple choice questions appear in this book. These questions exclusively test your understanding of the chapter. It is okay if you have another way of performing a task. Getting results, not memorizing trivia, is what counts on the Red Hat exams.
1. | What three directives are typically found in the /etc/sysconfig/network file? ________________________________________ ________________________________________ ________________________________________ |
|
2. | What command would you use to assign an IP address of 192.168.99.44 to your eth1 network card? ________________________________________ |
|
3. | What command returns the current routing table? ________________________________________ |
|
4. | What command deactivates the eth0 network device? ________________________________________ |
|
5. | You want to look at your current printer configuration in a GUI desktop interface. What starts the Red Hat GUI Printer Configuration tool? ________________________________________ |
|
6. | You want to configure a group of printers as a printer class. Which GUI tool can you use for this purpose? ________________________________________ |
|
7. | What is the main CUPS printer configuration file? ________________________________________ |
|
8. | What command can you use to remove print job number 12 from the print queue? ________________________________________ |
|
Answers
5. | The command that starts the Red Hat GUI Printer Configuration tool from a GUI command line is system-config-printer. |
6. | To configure a group of printers as a printer class, you can use the CUPS Web-based configuration tool. |
7. | The main CUPS printer configuration file is /etc/cups/cupsd.conf. |
8. | The command that removes print job number 12 from the default print queue is
# lprm 12 |
9. | You want to schedule a maintenance job, maintenance.pl, to run from your home directory on the first of every month at 4:00 A.M. You've run the crontab -e command to open your personal job file. Assume you've added appropriate PATH and SHELL directives. What directive would you add to run the specified job at the specified time? ____________________________________________________________ |
|
10. | If you see the following entry in your /etc/crontab:
42 4 1 * * root run-parts /etc/cron.monthly when is the next time Linux will run the jobs in the /etc/cron.monthly directory? ____________________________________________________________ |
|
Answers
9. | The directive that runs the maintenance.pl script from a home directory at the noted time is
00 4 1 * * ~/maintenance.pl |
10. | Based on the noted entry in /etc/crontab, the next time Linux will run the jobs in the /etc/cron .monthly directory is on the first of the upcoming month, at 4:42 A.M. |
11. | Assume you normally work from a user account called sysadm. What entry might you add to /etc/syslog.conf to notify you whenever there is a serious problem with the kernel? ___________________________________________________________ |
|
12. | What three log files in /var/log are most relevant to the installation process? ___________________________________________________________ ___________________________________________________________ ___________________________________________________________ |
|
Answers
11. | The entry that you might activate in /etc/syslog.conf to notify you whenever a serious problem with the kernel occurs is
kern.* /dev/console |
12. | The log files in /var/log that are most relevant to the installation process are anaconda.log, anaconda.syslog, and anaconda.xlog. If you install in text mode, anaconda.xlog won't be created. |