nerdexam
LPI

101-400 · Question #29

Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)

The correct answer is A. esc ZZ D. esc :wq! See the full explanation below for the reasoning.

Question

Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)

Options

  • Aesc ZZ
  • Bctrl :w!
  • Cesc zz
  • Desc :wq!
  • Ectrl XX

How the community answered

(39 responses)
  • A
    74% (29)
  • B
    15% (6)
  • C
    3% (1)
  • E
    8% (3)

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice