CompTIA Exam Questions

Which of the following sequences in the vi editor saves the opened document and exits the editor?

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

A.
esc :wq!

B.
ctrl XX

C.
ctrl :w!

D.
esc ZZ

E.
esc zz