Linux 1 Chapter 2 Questions
What metacharacter indicates background command execution? 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? a. .zip b. .tar.gz c. .iso d. .tgz
.iso
Under the root directory in Linux, which directory contains system commands and utilities? a. /opt b. /var c. /boot d. /usr
/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. |
;
When using command-line terminal, specific letters that start with a dash ("-") and appear after command names are considered to be: a. Arguments b. Options c. Keywords d. Metacharacters
Options
After a shell is no longer needed, what command can be given to exit the shell? a. exit b. stop c. reset d. quit
exit
Which Linux command can be utilized to display your current login name? a. who b. whoami c. id d. w
whoami
Which of the following are true of the echo command? a. When used to display text, quotation marks are optional. b. It can be used to display shell variables by including a $ sign in front of the variable name. c. Including a semicolon at the end of the line will not affect the text being displayed. d. All of the other options are true.
It can be used to display shell variables by including a $ sign in front of the variable name.
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
cal
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. ver --help b. help version c. man uname d. lsproc -?
man uname