What is vi editor explain various vi editors?

Hoàng Minh An

New member
What is vi editor explain various vi editors?
Answer
Look at the above snapshot, command :wq will save and quit the vi editor. When you’ll type it in command mode, it will automatically come at bottom left corner. If you want to quit without saving the file, use :q.
…
exit vi table:

Commands

Action

:q!

Quit discarding changes made

:w!

Save (and write to non-writable file)
 

Tìm kiếm

Back
Top