LPI
101-400 · Question #344
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…
The correct answer is D. set -o vi. See the full explanation below for the reasoning.
Question
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?
Options
- Ahistory -p vi
- Balias emacs=vi
- CHISTCMD=vi
- Dset -o vi
- Eunset emacs
How the community answered
(26 responses)- A4% (1)
- B12% (3)
- C4% (1)
- D81% (21)
Community Discussion
No community discussion yet for this question.