nerdexam
LPI

101-500 · Question #403

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! You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

GNU and Unix Commands

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

(62 responses)
  • A
    89% (55)
  • B
    6% (4)
  • C
    3% (2)
  • E
    2% (1)

Explanation

You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

Topics

#vi editor#text editing#command mode#save/exit

Community Discussion

No community discussion yet for this question.

Full 101-500 Practice