Searching for Strings
The FIND subcommand searches the display data for a specified string.
It can be abbreviated to F. The RFIND (repeat find) command is used to find the next occurrence of the string in the display data. It can be abbreviated to RF.
The syntax of the FIND subcommand is as follows:
You can specify the following parameters with the FIND and RFIND
commands:
- search_string
- The string that is to be searched for. The search starts at the first line shown in the display.
- direction
- The direction that is used for the search. It can be:
- N
- Find the next occurrence (forward direction). This is the default.
- P
- Find the previous occurrence (backward direction).
