how to quit the vi in linux terminal code example
Example: how to exit vi in linux
(without saving changes)
if in insert or append mode press Esc.
else type ":q!" and press Enter
(without saving changes)
if in insert or append mode press Esc.
else type ":q!" and press Enter