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)- A74% (29)
- B15% (6)
- C3% (1)
- E8% (3)
Community Discussion
No community discussion yet for this question.