- 论坛徽章:
- 0
|
我就想知道如何在vi编辑器里有命令/string来查找字符串呢?
network_interface=primary
{protocol_ipv6=no
netmask=255.255.255.0
default_route=192.168.0.1
hostname=ultra5
ip_address=192.168.0.5}
security_policy=none
name_service=NONE
timezone=PRC
system_locale=en_US
terminal=vt100
timeserver=localhost
root_password=YiSNKaOUgjisU
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
/string s*
之后"sysidcfg" 14 lines, 269 characters
按了回车后,就成了如此提示:
"sysidcfg" 14 lines, 269 characters
network_interface=primary
{protocol_ipv6=no
netmask=255.255.255.0
default_route=192.168.0.1
hostname=ultra5
ip_address=192.168.0.5}
security_policy=none
name_service=NONE
timezone=PRC
system_locale=en_US
terminal=vt100
timeserver=localhost
root_password=YiSNKaOUgjisU
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
Pattern not found |
|