How do you exit a view in Linux?

How do you exit a view in Linux?
Answer
After making changes to a file, press [Esc] to shift to the command mode and press :w and hit [Enter] to save a file. To exit Vi/Vim, use the :q command and hit [Enter] . To save a file and exit Vi/Vim simultaneously, use the :wq command and hit [Enter] or
command.
 

Tìm kiếm

Back
Top