CHAPTER 2 QUIZ
Which of the following directories contains configuration files that the system uses when the computer starts? a. /bin b. /etc c. /pro d. /ini
b. /etc
Characters that begin with the back slash are special ____ formatting characters. a. Bourn shell b. Bash shell c. Korn shell d. all of the above
b. Bash shell
Which of the following wildcard characters takes the place of ONLY one single character? a. Asterisk (*) b. Question mark c. Exclamation point d. None of the above
b. Question mark
Which of the following formatting characters marks the end of a sequence of non-printed characters? a. \\ b. \] c. \$ d. \!
b. \]
UNIX interprets a single ____ character to mean the current directories. a. dash b. dot c. underscore d. question mark
b. dot
Directories in the UNIX file system are often referred to as _______ directories. a. child b. parent c. supernet d. all of the above
b. parent
A(n) ____ acts like an extension of memory so that UNIX has more room to run large programs. a. utility partition b. swap partition c. home partition d. GNOME partition
b. swap partition
Which of the following directories contain executables? a. /fil b. /exe c. /bin d. All of the above
c. /bin
If you plan on having multiple users access the system, you can create a(n) ____ partition, which is home to all directories. a. /user b. /boot c. /home d. /subnet
c. /home
Which of the following directories occupies no space on a hard disk? a. /sbin b. /tmp c. /proc d. /var
c. /proc
Partition size is measured in which of the following methods? a. Megabytes b. Gigabytes c. Both A and B d. Virtual bytes
c. Both A and B
Which of the following types of permissions for directories means that the user can make the directory a current working directory? a. Read b. Write c. Execute d. None of the above
c. Execute
A tree-like structure for UNIX file systems starts at the root level; root is the name of the file at the base of this level and is denoted by which of the following symbols? a. Pound sign (#) b. Question mark (?) c. Forward slash (/) d. Back slash (\)
c. Forward slash (/)
When copying files, you can use which of the following characters to represent the location of your home directory? a. Dollar sign ($) b. Pound sign (#) c. Tilda(~) d. All of the above
c. Tilda(~)
Which of the following is a special character that can stand for any other character or in some cases a group of characters? a. Non-volatile b. Volatile c. Wildcard d. All of the above
c. Wildcard
In the Bash shell prompt, which of the following formatting characters displays the number of current commands in the command history? a. \? b. \$ c. \! d. \w
c. \!
Which of the following formatting characters displays the path of a working directory? a. \W b. \D c. \w d. \d
c. \w
When specifying path commands, which of the following symbols separates each directory name? a. backslash (\) b. colon(:) c. forward slash (/) d. semicolon (;)
c. forward slash (/)
You can use the UNIX ____ command to display your current path. a. wdp b. dwp c. pwd d. path
c. pwd
The /lib directory contains which of the following types of information? a. Kernel modules b. Shared library images c. Security information d. All of the above
d. All of the above
Subdirectories of the UNIX file system are often referred to as ____ directories. a. subnet b. parent c. supernet d. child
d. child
Callout devices used in conjunction with a modem are referred to as __________. a. auc b. sd c. lp d. cua
d. cua
You would use the ____ command to display a directory's contents, including files and other directories. a. sl b. dir c. dr d. ls
d. ls
To list hidden files in your home directory, you would use the ls command with which of the following options? a. -a b. -hd c. -d d. -h
a. -a
Swap partitions provide an extension to which type of memory? a. RAM b. ROM c. EPROM d. None of the above
a. RAM
Your "Command prompt" is configured ____ when you login. a. automatically b. manually c. both A and B d. none of the above
a. automatically
Device names beginning with ____ access IDE hard drives. a. hd b. idhd c. edhd d. lp
a. hd
Which of the following depicts the proper syntax of the mount command? a. mount device-name mount-point b. mount-point device-name c. device-name mount-point d. All of the above
a. mount device-name mount-point
A(n) ____ is a section of the hard disk that has been formatted to hold files. a. physical file system b. virtual file system c. symmetric file system d. asymmetric file system
a. physical file system
The path that takes the shortest journey is often referred to as the ____. a. relative path b. source path c. synchronous path d. all of the above
a. relative path