CompTIA
LX0-101 · Question #286
Many people like the vi text editor but the default bash command line editor recognizes emacs keystrokes. Which of the following commands, entered into a bash initialization file, will have bash…
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. Which of the following commands, entered into a bash 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
(25 responses)- A12% (3)
- B4% (1)
- C8% (2)
- D72% (18)
- E4% (1)
Community Discussion
No community discussion yet for this question.