How Do You Save in Linux?

How Do You Save in Linux?
Contents
Command Purpose
i Switch to Insert mode.
Esc Switch to Command mode.
:w Save and continue editing.
:wq or ZZ Save and quit/exit vi.

How do I save and exit in Linux?

Press the [Esc] key and type Shift + Z Z to save and exit or type Shift+ Z Q to exit without saving the changes made to the file.

How do you save progress in Linux terminal?

2 Answers

  1. Press Ctrl + X or F2 to Exit. You will then be asked if you want to save.
  2. Press Ctrl + O or F3 and Ctrl + X or F2 for Save and Exit.
James H. Sterling
Author

James H. Sterling

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.