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

How to find keywords in vi in ​​linux

Release: 2020-01-06 13:39:42
Original
23947 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template