How Do I Save in Ubuntu Terminal?
Contents What Is the Save Command in Ubuntu? Once You Have Modified a File, Press [Esc] Shift to the Command Mode and Press: W and Hit [Enter] as Shown Below...
Contents
What is the Save command in Ubuntu?
Once you have modified a file, press [Esc] shift to the command mode and press :w and hit [Enter] as shown below. To save the file and exit at the same time, you can use the ESC and key and hit [Enter] . Optionally, press [Esc] and type Shift + Z Z to save and exit the file.
How do you save in Linux terminal?
To save a file, you must first be in Command mode. Press Esc to enter Command mode, and then type :wq to write and quit the file.
…
More Linux resources.
| 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. |