The following questions will help you measure your understanding of the material presented in this chapter. As there are no multiple choice questions on the Red Hat exams, there are no multiple choice questions in this book. These questions exclusively test your understanding of the chapter. While the topics in this chapter are "prerequisites," it is okay if you know another way of performing a task. Getting results, not memorizing trivia, is what counts on the Red Hat exams. There may be more than one answer for many of these questions.
Once Linux is booted, what file can tell you all about the CPU(s) on your system?
_______________________________________________
2. | If you're editing the /etc/inittab file in vi, what command would you use to copy the currently highlighted line? _______________________________________________ |
|
Answers
2. | The yy command in vi yanks a copy of the current line into the buffer. |
3. | What command would you use to find currently mounted drives? _______________ |
|
Answers
3. | To find currently mounted drives, the simplest method is to use the mount command; other commands that can tell you about mounted drives are cat /etc/mtab and df. |
4. | If you want to find the actual number of times user mj is logged into your Linux computer, what command would you use? ________________________________ |
|
Answers
4. | The most elegant way to find the actual number of times user mj is logged in is to use the who | grep mj | wc -l command. However, for these purposes, it's usually good enough to count from the list associated with the who command. Remember that results are what matter on the Red Hat exams. |
5. | You're maintaining a large queue of print jobs on your network, and you need some job numbers to make sure the engineers get highest priority on the printer. What command would you use to list print job numbers? __________________________________ |
|
Answers
5. | The simplest method to check print queues is to use the lpq command. If you want more information, try lpq -l for a long listing format. If you have more than one printer, the lpq -a command checks all configured printers. |
6. | What command would you use to add the /usr/sbin directory to your PATH? ___________________________________ |
|
Answers
6. | The simplest way to add /usr/sbin to your $PATH is to use the PATH=$PATH:/usr/sbin command. But to make sure this command takes effect the next time you log in, you should add this command to the hidden .bash_profile file in your home directory. |
7. | When you run the umask command, you see the following result: 0000. The next time you create a file, what will be the permissions? __________________________ |
|
Answers
7. | The answer is read and write permissions for all users, or _rw_rw_rw. Even if you try to set it to allow execute permissions, Red Hat won't let you do this anymore. You'll need to set execute permissions on each file after creation. |
8. | Based on the following line from a user's crontab file, when will the Berkeleylives program be run?
0 1 2 3 * Berkeleylives ______________________________________ |
|
Answers
8. | The convention for the first five entries in a crontab line is minute, hour, day of month, month, and day of week, so this particular job will run at 1 A.M. on March 2. |
9. | Provide an example of an appropriate IPv4 network address, subnet mask, and broadcast address for a network of less than 300 computers on the 10.0.0.0 private network. Network address: ________________________ Subnet mask: ________________________ Broadcast address: ________________________ |
|
Answers
9. | The answer to this question will vary widely. If you can't provide many answers to this question, you may need to learn more about basic IPv4 addressing. One example is a network address of 10.11.12.0, a subnet mask of 255.255.255.0, and a broadcast address of 10.11.12.255. |
10. | What is the protocol associated with the service used to connect Linux to a Microsoft Windows-based network? ________________________________________ |
|
Answers
10. | The basic protocol is Samba (SMB), associated with the Common Internet File System (CIFS). Any of these answers are correct; however, as described in Chapter 10, it's important to know that the CIFS module has superseded the SMBFS module for RHEL 5. |
11. | What command would you use to start the basic Red Hat Enterprise Linux firewall configuration utility? ______________________________________________ |
|
Answers
11. | The basic Red Hat firewall configuration utility can be started with the system-config-securitylevel command. |
12. | Name one of the major e-mail clients available on Red Hat Enterprise Linux 5. _______________________________ |
|
Answers
12. | Several different e-mail clients are available in RHEL 5, including mutt, mail, Kmail, and Evolution. |
Downloading the Red Hat Enterprise Linux Installation CDs
13. | Name one alternative distribution that uses the same source code as RHEL 5. _______________________ |
|
Answers
13. | There are several different rebuild distributions available, including CentOS, Lineox, Scientific Linux, and more. One list of available rebuild distributions can be found at http://linuxmafia.com/faq/RedHat/rhel-forks.html. The answer is correct only if the group you've cited has rebuilt the source code for RHEL 5. |