Set - 2

Question 11 :

What can you type at a command line to determine which shell you are using?

Answer :

echo $SHELL 

The name and path to the shell you are using is saved to the SHELL environment variable. You can then use the echo command to print out the value of any variable by preceding the variable's name with $. Therefore, typing echo $SHELL will display the name of your shell.


Question 12 :

What type of local file server can you use to provide the distribution installation materials to the new machine during a network installation?


A). Inetd
B). FSSTND
C). DNS
D). NNTP
E). NFS
Answer : Option E

Explanation :

You can use an NFS server to provide the distribution installation materials to the machine on which you are performing the installation. Answers a, b, c, and d are all valid items but none of them are file servers. Inetd is the superdaemon which controls all intermittently used network services. The FSSTND is the Linux File System Standard. DNS provides domain name resolution, and NNTP is the transfer protocol for usenet news.


Question 13 :

If you type the command cat dog & > cat what would you see on your display? Choose one:


A). Any error messages only.
B). The contents of the file dog.
C). The contents of the file dog and any error messages.
D). Nothing as all output is saved to the file cat.
Answer : Option D

Explanation :

When you use & > for redirection, it redirects both the standard output and standard error. The output would be saved to the file cat.


Question 14 :

When you create a new partition, you need to designate its size by defining the starting and ending _____________.

Answer :

cylinders 

When creating a new partition you must first specify its starting cylinder. You can then either specify its size or the ending cylinder.


Question 15 :

What key combination can you press to suspend a running job and place it in the background?

Answer :

ctrl-z 

Using ctrl-z will suspend a job and put it in the background.