Quiz 2
Which prompt does the root user receive when logged in to the system?
#
What metacharacter can be used to issue two commands to be run in consecutive order, without piping or redirecting output?
;
Which features are provided by a shell?
Better Security Command history, Batch processing, Job control, Metacharacters
When using command-line terminal, specific letters that start with a dash ("-") and appear after command names are considered to be:
Options
Which of the following are true of the echo command?
Quotation marks are optional when displaying text. It can be used to display shell variables by including a $ sign in front of the variable name. 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, what interface does a user receive?
Shell
The following command: ls /test || echo Sorry && echo Howdy would produce which of the following results if /test does not exist.
Sorry Howdy
If enough unique letters of a directory name have been typed, what key can be pressed to activate the BASH shell's completion feature?
Tab
Which command blanks the terminal screen?
clear
After a shell is no longer needed, what command can be given to exit the shell?
exit
What command produces the same results as the apropos list command
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?
man uname
What command can be issued to confirm which directory you are in at a command line prompt?
pwd
The following command ls t[0‐9a‐z]k will NOT show which of the following files? (Choose all that apply)
ta2k, t2ak
Which Linux command can be utilized to display your current login name?
whoami