Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GAQM Exam LCP-001 Topic 5 Question 80 Discussion

Actual exam question for GAQM's LCP-001 exam
Question #: 80
Topic #: 5
[All LCP-001 Questions]

Many people like the vi text editor but the default bash command line editor recognizes emacs keystrokes. What command entered into abash initialization file will have bash recognize vi keystrokes after login?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Stephanie
7 days ago
D) set -o vi seems like the obvious choice here. It's the command to set the bash shell to use vi-style key bindings.
upvoted 0 times
...
Madalyn
9 days ago
I'm not sure, but I think option B) alias emacs=vi could also work.
upvoted 0 times
...
Antonio
11 days ago
I agree with Anglea. Setting vi mode with set -o vi makes sense.
upvoted 0 times
...
Anglea
15 days ago
I think the answer is D) set -o vi.
upvoted 0 times
...

Save Cancel