November 2018
Beginner
330 pages
7h 21m
English
Let's save our file! Execute the following command:
:w
:w stands for write.
Let's exit Vim and check if the file was indeed created. :q stands for quit. You can also combine write and quit commands to write and exit by executing :wq.
:q
If you made changes to a file and want to exit Vim without saving the changes, you'll have to use :q! to force Vim to quit. Exclamation mark at the end of the ...
Read now
Unlock full access