Exam4Training

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

Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)
A . esc ZZ
B . ctrl: w!
C . esc zz
D . esc: wq!
E . ctrl XX

Answer: A,D

Exit mobile version