Linux Hardware Info

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.

Published by

Rahinur Rahaman

Expert in Oracle Database 10g and 11g. Deep knowledge on SQL, PL/SQL and Java programming. Working at Square InformatiX Limited as Oracle Database Administrator.

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>