Home  >  Article  >  Operation and Maintenance  >  What is the linux exit vi command?

What is the linux exit vi command?

hzc
hzcOriginal
2020-06-18 11:32:545266browse

What is the linux exit vi command?

What is the Linux exit vi command?

Press the ESC key to exit the vi editing command, then:
:w Save the file but do not exit vi
:w file Will Save the modification to file without exiting vi
:w! Force save without exiting vi
:wq Save the file and exit vi
:wq! Force to save the file and exit vi
q: Do not save the file and exit vi
:q! Do not save the file and force exit vi
:e! Discard all changes and start editing from the last time you saved the file

Recommended tutorial: "linux tutorial"

The above is the detailed content of What is the linux exit vi command?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn