CLI Usage
7750 SR OS Basic System Configuration Guide Page 43
s Substitute one character under the cursor, and go into insert mode. Specify
a count to substitute a number of characters. A dollar sign ($) will be put at
the last character to be substituted.
Table 13: Searching for Text or Characters
vi Command Description
, Repeat the last f, F, t or T command in the reverse direction.
/ Search the file downwards for the string specified after the /.
; Repeat the last f, F, t or T command.
? Search the file upwards for the string specified after the
?.
F Search the current line backwards for the character specified after the 'F'
command. If found, move the cursor to the position.
N Repeat the last search given by
/ or ?, except in the reverse direction.
T Search the current line backwards for the character specified after the
T
command, and move to the column after the if it's found.
f Search the current line for the character specified after the
f command. If
found, move the cursor to the position.
n Repeat last search given by
/ or ?.
t Search the current line for the character specified after the
t command,
and move to the column before the character if it's found.
Table 12: Replacing Text
vi Command Description (Continued)