LPI Exam Questions

Which of the following sequences in the vi editor saves…

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