How do I edit a file in Ubuntu?

How do I edit a file in Ubuntu?
Answer
Here are the few steps to edit a file in Vim editor:
  1. To edit the file, Press I from keyboard to enter into insert mode, here you can do editing just like the normal editor.
  2. When done with editing, get out of this mode by pressing Esc. …
  3. To save the file, type :w in command mode.
  4. To quit the editor, type :q in command mode.
 

Tìm kiếm

Back
Top