5.3. Exiting from Vi
Contents
Up
Prev
Next
Linux' Basic Use
→
Editing with Vi
→
Exiting from Vi
To exit Vi, one has to be at command mode.
When in command mode, type
:q
and press Enter to exit from Vi.
You cannot exit this way unless the file you edited is saved.
Contents
Up
Prev
Next
Written by
Shlomi Fish