Session Review

Session ID: 143
Mode: objective
Status: in_progress
Score: 0%

Filter: All | Incorrect | Flagged | Unanswered

Current filter: Unanswered

Back to Session

Question 1 (103.1-011 / multiple_choice)

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].

Question 2 (103.1-026 / command_line)

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].

Question 3 (103.1-014 / multiple_choice)

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].

Question 4 (103.1-010 / multiple_choice)

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].

Question 5 (103.1-024 / command_line)

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].

Question 6 (103.1-003 / multiple_choice)

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].

Question 7 (103.1-004 / multiple_choice)

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].

Question 8 (103.1-007 / multiple_choice)

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].

Question 9 (103.1-008 / multiple_choice)

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].

Question 10 (103.1-018 / short_answer)

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].