Session ID: 146
Mode: objective
Status: in_progress
Score: 0%
Filter: All | Incorrect | Flagged | Unanswered
Current filter: All
Enter the command that sets nano as the default text editor for the current shell session.
Status: Unanswered
Your Answer:
Accepted Answer(s):
export EDITOR=nano
Explanation:
The lesson gives export EDITOR=nano as the example [1].
Enter the command that opens /etc/fstab directly at line 9 using vi.
Status: Unanswered
Your Answer:
Accepted Answer(s):
vi +9 /etc/fstab
Explanation:
The lesson provides this exact example [1].
Which command defines nano as the default editor in the current shell session according to the lesson?
Status: Unanswered
Your Answer:
Options:
Explanation:
The lesson gives export EDITOR=nano as the example for setting the default text editor in the current shell session [1].
Which command opens the built-in step-by-step tutorial for vim?
Status: Unanswered
Your Answer:
Accepted Answer(s):
vimtutor
Explanation:
The lesson explicitly mentions vimtutor [1].
Which vi command returns to navigation mode?
Status: Unanswered
Your Answer:
Options:
Explanation:
The lesson lists :visual as the command to go back to navigation mode [1].
Which alternative editor is described as simpler than vi and using Ctrl key combinations for commands?
Status: Unanswered
Your Answer:
Options:
Explanation:
The lesson describes GNU nano as a simpler alternative to vi, where commands are given using the Ctrl key [1].
Which environment variables can Bash use to determine the default text editor?
Status: Unanswered
Your Answer:
Accepted Answer(s):
VISUAL and EDITOR
EDITOR and VISUAL
Explanation:
The lesson states that Bash uses the session variables VISUAL or EDITOR [1].
Enter the vi command that exits without saving any changes.
Status: Unanswered
Your Answer:
Accepted Answer(s):
:q!
:quit!
Explanation:
The lesson lists both :q! and :quit! [1].
What keys should be pressed in vi normal mode to indent the current selection three steps to the left?
Status: Unanswered
Your Answer:
Options:
Explanation:
The guided exercise answer states that the keys are 3< [1].
What does vim stand for?
Status: Unanswered
Your Answer:
Accepted Answer(s):
vi improved
Explanation:
The lesson states that vim stands for 'vi improved' [1].