Several modes of the Vi editor in LINUX and commands such as saving and exiting
Source: Internet
Author: User
In LINUX, the Vi editor has three modes: command mode and edit mode. after opening vi in the last line mode, the vi editor uses I, o and a enter the editing mode, press esc to exit the editing mode, and return to the command mode. Www.2cto.com in command mode...
In LINUX, the Vi editor has three modes: command mode and edit mode. after opening vi in the last line mode, the vi editor uses I, o and a enter the editing mode, press esc to exit the editing mode, and return to the command mode. Www.2cto.com in command mode, enter: wq to save and exit, and: wq! Force save and exit. w indicates save, w file indicates save in another file. q indicates that ZZ can be used to exit in command order mode, and ZQ indicates save and exit directly. Author: fangzhoujinbu
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service