You want to find how to set the manpath variable so you type man man. What would you type wile displaying the page to find the location where manpath is discussed?
A -
man –c password
B -
man -K password
C -
man –C password
D -
man –q password
2-
You have a technician who will come in after hours to install new hardware in your system. You do not want to give him the root password, but he needs to be able to shutdown the system. How can you accomplish this?
A -
Add his username to the /etc/shutdown.conf file.
B -
Give him the root password and change it when you arrive the next morning.
C -
Add his username to the /etc/shutdown.allow file.
D -
You cannot do this, only root can run the shutdown command.
3-
Which of the following statements is not true about LILO?
A -
It must replace the master boot record on your hard drive.
B -
It can be used on a floppy to boot Linux.
C -
It can specify up to 16 different boot images.
D -
It will work with other operating systems such as DOS and Windows.
4-
Modules are pieces of kernel code that you can load or unload. What file do you use to pass parameters to a module?
A -
/etc/inittab
B -
/etc/modules
C -
/etc/conf.modules
D -
/etc/conf.mod
5-
You have made changes to the LILO configuration file but you are not sure the changes will work. How can you test the new configuration without installing it?
A -
LILO
B -
LILO –t
C -
LILO –c filename
D -
LILO –s filename
6-
Which of the following commands will show a list of the files in your home directory including hidden files and the contents of all subdirectories?
A -
ls –Af /home/username
B -
ls –aR /home/username
C -
ls –l /home/username
D -
ls –c home
7-
Which of the following commands will combine the contents of the files tom and betty into a new file called friends?
A -
more tom betty > friends
B -
cat tom betty > friend
C -
ls tom betty > friends
D -
cat tom; cat betty > friends
8-
Which of the following items would not be important for you to record in your system documentation?
A -
Applications that are installed.
B -
What problems with the system you have had.
C -
Any kernel patches you might apply.
D -
When did each user log on last?
9-
The whereis command is helpful in finding the location of a command as well as its related man page. What is the disadvantage of using it?
A -
You have to update the whereis database in order to keep it current.
B -
Since it searched the entire directory tree, the whereis command can take an excessive amount of time.
C -
The whereis command only searches known directories that are hard coded into the command.
D -
The whereis command will not find source files located on your system.
10-
Which of the following cannot be accomplished with the cat command?