
ex:tldr:089b2
ex: Save and Quit.
$ wq
try on your machine
The command "wq" is a combination of two separate commands "w" and "q" used in the vi (visual) text editor.
- "w" stands for "write" and it is used to save changes made to the file.
- "q" stands for "quit" and it is used to exit the text editor.
The combination "wq" is used to save the changes and exit the editor at the same time.
So, when you run the command "wq" and press the
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.