c. IDE Hard Drive
b. 1 AND d. single. Both answers are correct.
b. /var/log/messages. This is the default logfile that syslogd saves to.
d. The BIOS
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).
c. init 3 AND d. telinit 3. Both answers are correct.
c. A symlink beginning with S in /etc/rc.d/rc5.d/.
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.
c. Master Boot Record
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.
d. /etc/ld.so.conf. When modifications are made to this file, the command /sbin/ldconfig must be run.
c. apt-get update && apt-get upgrade
a. dpkg –i package.deb
a. rpm –qa
a. yum update
a. rpm –verify –all AND b. rpm –Va. Both of these commands are equivalent.
b. echo $PATH
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.
a. /opt/runme AND b. ./runme
b. /bin/ls 1> /dev/null AND ...