LPI
101-500 · 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. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
Shells and Shell Scripting
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
(50 responses)- C4% (2)
- D94% (47)
- E2% (1)
Explanation
You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
Topics
#bash configuration#set command options#vi editing mode#shell initialization
Community Discussion
No community discussion yet for this question.