nerdexam
LPI

101-350 · Question #72

You are writing text in vi. Now you want to save your changes and exit. Which TWO sequence of inputs will accomplish this?

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

Question

You are writing text in vi. Now you want to save your changes and exit. Which TWO sequence of inputs will accomplish this?

Options

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

How the community answered

(45 responses)
  • A
    71% (32)
  • B
    4% (2)
  • C
    13% (6)
  • E
    11% (5)

Community Discussion

No community discussion yet for this question.

Full 101-350 Practice