Home > Article > Operation and Maintenance > 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!