nerdexam
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)
  • A
    4% (1)
  • B
    12% (3)
  • C
    4% (1)
  • D
    81% (21)

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice