How Quit and Save in Linux?
Contents

How do I save and quit in Linux?

To get into it, press Esc and then : (the colon). The cursor will go to the bottom of the screen at a colon prompt. Write your file by entering :w and quit by entering :q . You can combine these to save and exit by entering :wq .

How do I save and quit vi?

How to save and quit the vi or vim text editor

  1. If you are currently in insert or append mode, press Esc key.
  2. Press : (colon). …
  3. Enter the following command (type and press Enter key): :x. …
  4. Press ENTER key.
  5. This will quit the editor, and all changes you have made to the document will be saved to the file.

10 дек. 2020 г.

Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest