What vi command sequence 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?

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!



Leave a Reply 0

Your email address will not be published. Required fields are marked *