How do I save changes in Linux VI?

How do I save changes in Linux VI?
Answer
How to Save Changes in Vim
  1. Switch to command mode by pressing the ESC key.
  2. Press : (colon) to open the prompt bar in the bottom left corner of the window.
  3. Type x after the colon and hit Enter. This will save the changes and exit.
 

Tìm kiếm

Back
Top