Contents
| Command | Purpose |
|---|---|
| :wq or ZZ | Save and quit/exit vi. |
| :q! | Quit vi and do not save changes. |
| yy | Yank (copy a line of text). |
What is the easiest way to remember Linux commands?
In this article, we will share 5 command-line tools for remembering Linux commands.
- Bash History. Bash records all unique commands executed by users on the system in a history file. …
- Friendly Interactive Shell (Fish) …
- Apropos Tool. …
- Explain Shell Script. …
- Cheat Program.
6 июн. 2018 г.
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.