Chapter2
Select the utility below that will start and perform a thorough check of RAM for hardware errors when run. a. memtest86 b. fixram c. memcheck68 d. fsck
a. memtest86
What directory under / contains the log files and spools for a Linux system? a. /opt b. /var c. /boot d. /usr
b. /var
A calendar for the current month can be shown on the command line by issuing which command? a. date b. cal c. w d. id
b. cal
The apropos list command produces the same results as which command below? a. man -j list b. man -k list c. man -m list d. man -l list
b. man -k list
What metacharacter indicates background command execution? a. @ b. ^ c. & d. !
c. &
Sandra needs to obtain the latest image of Fedora so that she can install it as a virtual machine on her Windows workstation. Which of the following file formats is Sandra likely to find available for download from Fedora's website in order to allow her to use the file as the source for booting and installing Linux as a VM? a. .iso b. .zip c. .tar.gz d. .tgz
a. .iso
When using command-line terminal, specific letters that start with a dash ("-") and appear after command names are considered to be: a. Options b. Arguments c. Metacharacters d. Keywords
a. Options
After logging into a terminal, a user will receive an interface known as which option? a. Shell b. Swap memory c. Processor d. User interface
a. Shell
After a shell is no longer needed, what command can be given to exit the shell? a. exit b. quit c. reset d. stop
a. exit
Dustin runs a command at the command line trying to find out what kernel version the system is running. However, it doesn't give him the information he needs. He knows there is an option that can be used to display the kernel version. How can he find out which option to use? a. man uname b. help version c. ver --help d. lsproc -?
a. man uname
Which Linux command can be utilized to display your current login name? a. whoami b. who c. id d. w
a. whoami
Under the root directory in Linux, which directory contains system commands and utilities? a. /usr b. /var c. /opt d. /boot
a. /usr
What metacharacter can be used to issue two commands to be run in consecutive order, without piping or redirecting output? a. ; b. | c. \ d. &
a. ;
Wayne is using the command line and is in his home directory. Which of the following will display a list of all files and their sizes from his home directory? (Choose two.) a. ls -al ~ b. ls -ax c. ls -ax ~ d. ls -al /home/wayne
a. ls -al ~ d. ls -al /home/wayne
T he Linux kernel exists as a file named: a. krn.linux b. vmlinux c. kernel.0 d. vmlinuz
d. vmlinuz
Which of the following are true of the echo command? a. When used to display text, quotation marks are optional. b.Including a semicolon at the end of the line will not affect the text being displayed. c.It can be used to display shell variables by including a $ sign in front of the variable name. d. All of the other options are true.
d. All of the other options are true.