vi how to search code example
Example: vi search
To search forward, press / and to search backward press ?, type the search pattern and press Enter to run the search:
To search forward, press / and to search backward press ?, type the search pattern and press Enter to run the search: