Chapter 2: Accessing the Command Line
Which term describes the hardware display and keyboard used to interact with a system? a. Physical Console b. Virtual Console c. Shell d. Terminal
a. Physical Console
Which Bash shortcut or command separates commands on the same line? a. Pressing Tab b. history c. ; d. !string e. Pressing Esc+.
c. ;
Which Bash shortcut or command displays the list of previous commands? a. Pressing Tab b. !string c. !number d. history e. Pressing Esc+.
d. history
Which Bash shortcut or command jumps to the beginning of the command line? a. !number b. !string c. Pressing Ctrl+LeftArrow d. Pressing Ctrl+K e. Pressing Ctrl+A
e. Pressing Ctrl+A
Which Bash shortcut or command jumps to the beginning of the previous word on the command line? a. Pressing Ctrl+LeftArrow b. Pressing Ctrl+K c. Pressing Ctrl+A d. !string e. !number
a. Pressing Ctrl+LeftArrow
Which term describes the name of a program to run? a. Argument b. Command c. Option d. Prompt
b. Command
Which Bash shortcut or command is used to clear characters from the cursor to the end of the command line? a. Pressing Ctrl+LeftArrow b. Pressing Ctrl+K c. Pressing Ctrl+A d. ; e. Pressing Esc+.
b. Pressing Ctrl+K
Which term describes the part of the command line that specifies the target that the command should operate on? a. Argument b. Command c. Option d. Prompt
a. Argument
Which term describes one of multiple logical consoles that can each support an independent login session? a. Physical Console b. Virtual Console c. Shell d. Terminal
b. Virtual Console
Which Bash shortcut or command is used to complete commands, file names, and options? a. ; b. !number c. history d. Pressing Tab e. Pressing Esc+.
d. Pressing Tab
Which Bash shortcut or command re-executes a specific command in the history list? a. Pressing Tab b. !number c. !string d. history e. Pressing Esc+.
b. !number
Which Bash shortcut or command is used to re-execute a recent command by matching the command name? a. Pressing Tab b. !number c. !string d. history e. Pressing Esc+.
c. !string
Which term describes the part of the command line that adjusts the behavior of a command? a. Argument b. Command c. Option d. Prompt
c. Option
Which term describes the interpreter that executes commands typed as strings? a. Command b. Console c. Shell d. Terminal
c. Shell
Which Bash shortcut or command copies the last argument of previous commands? a. Pressing Ctrl+K b. Pressing Ctrl+A c. !number d. Pressing Esc+.
d. Pressing Esc+.
Which term describes the visual cue that indicates an interactive shell is waiting for the user to type a command? a. Argument b. Command c. Option d. Prompt
d. Prompt
Which term describes an interface that provides a display for output and a keyboard for input to a shell session? a. Console b. Virtual Console c. Shell d. Terminal
d. Terminal