LPI Exam Questions

What vi commandsequence will allow you to quit without saving your changes?

While editing a file in vi, you realize that you are changing the wrong file. What vi command
sequence will allow you to quit without saving your changes?

A.
:Q!

B.
:q!

C.
:w!

D.
:wq!