Home  >  Article  >  Operation and Maintenance  >  How to find keywords in vi in ​​linux

How to find keywords in vi in ​​linux

尚
Original
2020-01-06 13:39:4223903browse

How to find keywords in vi in ​​linux

How to find keywords in vi editing mode in Linux:

1. Enter vi, first press "ESC" to jump to command input mode

2. Enter the slash "/", then the screen will jump to the bottom, and the input field will appear "/"

3. Enter the keyword you need to find, and press Enter

4. If you want to continue searching for keywords, enter n

5. To search forward, enter N (capital)

Recommended learning: linux tutorial

The above is the detailed content of How to find keywords in vi in ​​linux. 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