NOS 120 Chapter 2 Study Guide
What directory under / contains the log files and spools for a Linux system? Select one: a. /var b. /opt c. /boot d. /usr
/var
A calendar for the current month can be shown on the command line by issuing which command? Select one: a. cal b. w c. date d. id
cal
What metacharacter indicates background command execution? Select one: a. ! b. & c. @ d. ^
&
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? Select one: a. .tgz b. .zip c. .iso d. .tar.gz
.iso
Under the root directory in Linux, which directory contains system commands and utilities? Select one: a. /usr b. /boot c. /opt d. /var
/usr
What metacharacter can be used to issue two commands to be run in consecutive order, without piping or redirecting output? Select one: a. & b. \ c. | d. ;
;
Which of the following are true of the echo command? Select one: a. When used to display text, quotation marks are optional. b. All of the other options are true. c. It can be used to display shell variables by including a $ sign in front of the variable name. d. Including a semicolon at the end of the line will not affect the text being displayed.
All of the other options are true
After logging into a terminal, a user will receive an interface known as which option? Select one: a. Shell b. Swap memory c. User interface d. Processor
Shell
After a shell is no longer needed, what command can be given to exit the shell? Select one: a. quit b. reset c. exit d. stop
exit
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.) Select one or more: a. ls -ax ~ b. ls -al ~ c. ls -al /home/wayne d. ls -ax
ls ~ ls -al /home/wayne
The apropos list command produces the same results as which command below? Select one: a. man -j list b. man -m list c. man -l list d. man -k list
man -k list
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? Select one: a. man uname b. ver --help c. lsproc -? d. help version
man uname
Select the utility below that will start and perform a thorough check of RAM for hardware errors when run. Select one: a. fixram b. fsck c. memtest86 d. memcheck68
memtest86
When using command-line terminal, specific letters that start with a dash ("-") and appear after command names are considered to be: Select one: a. Keywords b. Options c. Metacharacters d. Arguments
options
The Linux kernel exists as a file named: Select one: a. vmlinuz b. krn.linux c. vmlinux d. kernel.0
vmlinuz
Which Linux command can be utilized to display your current login name? Select one: a. whoami b. id c. w d. who
whoami