1. c. IDE Hard Drive

  2. b. /proc/interrupts

  3. b. 1 AND d. single. Both answers are correct.

  4. d. init

  5. b. /var/log/messages. This is the default logfile that syslogd saves to.

  6. d. The BIOS

  7. a. /sbin/shutdown –r –F now. This may seem like a small detail to have to remember, but this is an important command, and you should have its options memorized, particularly the difference between –F (force fsck on reboot) and –f (skip fsck on reboot).

  8. c. init 3 AND d. telinit 3. Both answers are correct.

  9. c. A symlink beginning with S in /etc/rc.d/rc5.d/.

  10. b. df

  11. c. /tmp. If the question was just about a partition where data changed often, that would be both /tmp and /var. But /tmp is the only partition that needs to be writable by all users.

  12. c. Master Boot Record

  13. a. root (hd0,0). GRUB (the Grand Unified Boot Loader) starts counting drives and partitions at 0, so the first partition on the first drive is 0,0.

  14. d. /etc/ When modifications are made to this file, the command /sbin/ldconfig must be run.

  15. c. apt-get update && apt-get upgrade

  16. a. dpkg –i package.deb

  17. a. rpm –qa

  18. a. yum update

  19. a. rpm –verify –all AND b. rpm –Va. Both of these commands are equivalent.

  20. b. echo $PATH

  21. c. ~/.bash_profile.

  22. d. All of the above. The history command will list the last commands run (how many commands are listed is configurable), <Ctrl-R> will allow you to search the history by keyword, and <up arrow> cycles through the last command typed in the order in which they were typed.

  23. a. /opt/runme AND b. ./runme

  24. b. /bin/ls 1> /dev/null AND ...

Get LPI Linux Certification in a Nutshell, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.