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)- A71% (32)
- B4% (2)
- C13% (6)
- E11% (5)
Community Discussion
No community discussion yet for this question.