Cisco Engine 611 Especificaciones Pagina 172

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 718
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 171
3-120
Cisco Wide Area Application Services Command Reference
OL-16451-01
Chapter 3 CLI Commands
find-pattern
find-pattern
To search for a particular pattern in a file, use the find-pattern command in EXEC mode.
find-pattern {binary reg-express filename | count reg-express filename | lineno reg-express
filename | match reg-express filename | nomatch reg-express filename | recursive reg-express
filename}
find-pattern case {binary reg-express filename | count reg-express filename | lineno reg-express
filename | match reg-express filename | nomatch reg-express filename | recursive reg-express
filename}
Syntax Description
Defaults No default behavior or values.
Command Modes EXEC
Device Modes application-accelerator
central-manager
Examples The following example shows how to search a file recursively for a case-sensitive pattern:
WAE# find-pattern case recursive admin removed_core
-rw------- 1 admin root 95600640 Oct 12 10:27 /local/local1/core_dir/
core.3.0.0.b5.eh.2796
-rw------- 1 admin root 97054720 Jan 11 11:31 /local/local1/core_dir/
core.cache.3.0.0.b131.cnbuild.14086
-rw------- 1 admin root 96845824 Jan 11 11:32 /local/local1/core_dir/
core.cache.3.0.0.b131.cnbuild.14823
-rw------- 1 admin root 101580800 Jan 11 12:01 /local/local1/core_dir/
core.cache.3.0.0.b131.cnbuild.15134
-rw------- 1 admin root 96759808 Jan 11 12:59 /local/local1/core_dir/
binary reg-express
filename
Does not suppress the binary output. Specifies the regular expression to be
matched and the filename.
count reg-express
filename
Prints the number of matching lines. Specifies the regular expression to be
matched and the filename.
lineno reg-express
filename
Prints the line number with output. Specifies the regular expression to be
matched and the filename.
match reg-express
filename
Prints the matching lines. Specifies the regular expression to be matched
and the filename.
nomatch reg-express
filename
Prints the nonmatching lines. Specifies the regular expression to be matched
and the filename.
recursive reg-express
filename
Searches a directory recursively. Specifies the regular expression to be
matched and the filename.
case Matches a case-sensitive pattern.
Vista de pagina 171
1 2 ... 167 168 169 170 171 172 173 174 175 176 177 ... 717 718

Comentarios a estos manuales

Sin comentarios