nerdexam
LPI

117-101 · Question #58

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

(18 responses)
  • A
    6% (1)
  • B
    6% (1)
  • C
    11% (2)
  • D
    78% (14)

Community Discussion

No community discussion yet for this question.

Full 117-101 Practice