If you can see this check that

next section prev section up prev page next page

Searching for Patterns in vi

The fastens way to reach a specific place in your text is by using one of the search commands: / (forward slash) or ? (question mark).

To search forward from the current cursor position, use the following command:

/pattern
where patters represents the sequence of characters you want to find.

To search backwards from the current cursor position, use the following command:

?pattern

To search for additional occurrences of the pattern, press either of the following:

n
Repeat the last search command.
N
Repeat the last search command but in the opposite direction.

Linux tutorials: intro1 intro2 wildcard permission pipe vi essential admin net SELinux1 fwall DNS diag Apache1 Apache2
Caine 6.0: Essentials | Basic | Search | SysIntro | 5a | 5b | 5c | 6 | 7a | 7b | 8a | 8b | WebBrowserA | WebBrowserB | Registry | Browser
Digital Investigation: Editing | Email | Logs | Strength
Kali: 1a | 1b | 1c | 2 | 3 | 4a | 4b | 5 | 6 | 7a | 8a | 8b | 9 | 10 |
Useful: Quiz | Forums | Privacy Policy | Terms and Conditions
Site Links:XMLZoo ActiveSQL ProgZoo SQLZoo

Copyright @ 2004-2017 Gordon Russell. All rights reserved.