Decode Your Destiny
Find out what your name and birth date say about you and GET YOUR FREE REPORT

How can I Quit vi Editor without Saving Changes?

To quit the vi editor without saving any changes you’ve made, perform the following command:

Type colon (:)
Type q! after colon and press enter

Any changes made are lost and quit from vi editor.

If you are currently in insert or append mode, press Esc.


Add a Comment

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