CompTIA Exam Questions

Which of the following vi command sequences will allow the administrator to quit without saving any

While editing a file in vi, an administrator realizes that the wrong file is being changed. Which of
the following vi command sequences will allow the administrator to quit without saving any
changes?

A.
:Q!

B.
:q!

C.
:w!

D.
:wq!

Explanation: