E
E
Eugene M2018-09-28 22:21:51
vim
Eugene M, 2018-09-28 22:21:51

How to exit the vim editor?

On my own I decided to practice with the commands in the console in CentOS. Made vim /var/www/site1/index.html everything hung, now how to get out of there?
In the directory, the file in this state is .index.html.swp
5bae7f181d44a747378635.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alexq2, 2018-09-28
@alexq2

Click escape. Then do this:q

S
Semy, 2019-01-19
@Semy

I will be original. Press ZZ. No colon.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question