how to exit vi editor in linux code example
Example: vim discard changes and quit command
Vim editor:
Insert: hit I key
Discard and exit: esc q!
Save and exit: esc qw
Vim editor:
Insert: hit I key
Discard and exit: esc q!
Save and exit: esc qw