Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
The vi command is actually sexy-Linux general technology-Linux programming and kernel information. The following is a detailed description. In the 7 Habits of using the editor efficiently, moonlear often finds the correct input position in the text instead of the input. Therefore, it is very important to quickly move in the text. It can help you quickly locate the place you want to edit.
When editing the system configuration file, you sometimes need to search to see if the configuration file has the statements you want to set.
/Pettern search backward from the cursor
? Pettern search forward from cursor
N find the next
N search for the previous one
From these four commands, do you see the beauty of the vi command?
I remember someone said that if vi is a simple lover, then emacs is a sexy lover.
I have no in-depth understanding of emacs. I will do it in the future.
Vi must be learned and used in system configuration. Fast and efficient, Swiss Army knife.
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
reliability of the article or any translations thereof. If you have any concerns or complaints relating to the article, please send an email, providing a detailed description of the concern or
complaint, to email@example.com. A staff member will contact you within 5 working days. Once verified, infringing content will be removed immediately.
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:
and provide relevant evidence. A staff member will contact you within 5 working days.