How do I edit a file in Linux vi?

Ivanesn

New member
How do I edit a file in Linux vi?
Answer
Work
  1. Introduction.
  2. 1Select the file by typing vi index. …
  3. 2Use the arrow keys to move the cursor to the part of the file you want to change.
  4. 3Use the i command to enter Insert mode.
  5. 4Use the Delete key and the letters on the keyboard to make the correction.
  6. 5Press the Esc key to get back to Normal mode.
 

Tìm kiếm

Back
Top