How do I search for a specific word in VI Linux?

How do I search for a specific word in VI Linux?
Answer
Searching and Replacing in vi
  1. vi hairyspider. For starters, access vi and a specific file.
  2. /spider. Enter command mode, then type / followed by the text you’re looking for.
  3. Press to find the first occurrence of the term. Type n to find the next one.
 

Tìm kiếm

Back
Top