Posted on

Linux+ – LX0-101 – Exam 1 Samples – Question 28

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

This Question is from the premium VCE/PDF and it is available for you here for free.

Correct Answer: D

Leave a Reply

Your email address will not be published. Required fields are marked *