Session ID: 143
Mode: objective
Status: in_progress
Score: 0%
Filter: All | Incorrect | Flagged | Unanswered
Current filter: Unanswered
Which key sequence typically recalls the previous command from shell history?
Status: Unanswered
Your Answer:
Options:
Explanation:
The objective includes using and editing command history. Recalling previous commands with the arrow keys is standard shell behavior [1][2].
Enter the command that prints the current value of PATH.
Status: Unanswered
Your Answer:
Accepted Answer(s):
echo $PATH
Explanation:
echo is listed in the objective and can be used to display variable values such as PATH [1].
Which of the following assigns the value /opt/bin to the variable PATH for the current shell only, without exporting it?
Status: Unanswered
Your Answer:
Options:
Explanation:
The objective covers defining, referencing and exporting environment variables. Simple assignment defines a shell variable; export is needed to pass it to child processes [1].
Which keyboard feature of the shell helps complete command and file names interactively?
Status: Unanswered
Your Answer:
Options:
Explanation:
This is standard shell usage knowledge relevant to working on the command line. The provided context for 103.1 is limited to the objective summary and command list, not the full lesson content [1][2].
Enter the command that exports the variable LANG with the value en_US.UTF-8.
Status: Unanswered
Your Answer:
Accepted Answer(s):
export LANG=en_US.UTF-8
Explanation:
The objective explicitly includes export for making variables available to child processes [1].
Which command is used to make a shell variable available to child processes?
Status: Unanswered
Your Answer:
Options:
Explanation:
The objective explicitly lists export as part of using and modifying the shell environment [1].
Which command removes a shell variable or environment variable from the current shell?
Status: Unanswered
Your Answer:
Options:
Explanation:
The objective includes unset as one of the commands for modifying the shell environment [1].
What does the PATH environment variable define?
Status: Unanswered
Your Answer:
Options:
Explanation:
The objective includes invoking commands inside and outside the defined path, which depends on PATH [1].
Which command shows shell variables and functions in the current shell?
Status: Unanswered
Your Answer:
Options:
Explanation:
The objective includes set as one of the commands used to inspect and modify the shell environment [1].
Which command removes the variable EDITOR from the current shell?
Status: Unanswered
Your Answer:
Accepted Answer(s):
unset EDITOR
Explanation:
The objective includes unset for removing shell variables [1].