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:

Maryann
5 hours ago
I'm more of a nano guy myself, but D) set -o vi has got to be the way to go if you want to use vi in the bash shell.
upvoted 0 times
...
Dannette
3 days ago
Haha, alias emacs=vi? That's like trying to put a square peg in a round hole. Nice try, but B) isn't the right answer.
upvoted 0 times
...
Albert
6 days ago
I don't know, E) unset emacs sounds like it might work too. Get rid of that pesky emacs and bring on the vi!
upvoted 0 times
...
Stephanie
16 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
Queen
4 days ago
I think the answer is D) set -o vi.
upvoted 0 times
...
...
Madalyn
18 days ago
I'm not sure, but I think option B) alias emacs=vi could also work.
upvoted 0 times
...
Antonio
19 days ago
I agree with Anglea. Setting vi mode with set -o vi makes sense.
upvoted 0 times
...
Anglea
24 days ago
I think the answer is D) set -o vi.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77