CompTIA Exam Questions

Which of the following commands, entered into a bash initialization file, will have bash recognize v

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?

A.
history -p vi

B.
alias emacs=vi

C.
HISTCMD=vi

D.
set -o vi

E.
unset emacs

Explanation: