Specifications

Table Of Contents
1-16
Cisco SCE 2000 and SCE 1000 CLI Command Reference
OL-26797-03
Chapter 1 Command-Line Interface
Managing Command Output
The syntax of filtered commands is as follows:
<command>| include <expression>
<command>| exclude <expression>
<command>| begin <expression>
Following is an example of how to filter the show version command to display only the last part of the
output, beginning with the version information.
sce# show version | begin revision
Redirecting Command Output to a File
You can redirect the output of commands, such as show, more, and dir, to a file. When writing the output
of these commands to a file, you can specify either of the following options:
redirect — The new output of the command will overwrite the existing contents of the file.
append — The new output of the command will be appended to the existing contents of the file.
The syntax of redirection commands is as follows:
<command>| redirect <file-name>
<command>| append <file-name>
Following is an example of how to do the following:
Filter the more command to display from a csv subscriber file only the gold package subscribers.
Redirect that output to a file named current_gold_subscribers. The output should not overwrite
existing entries in the file, but should be appended to the end of the file.
sce# more subscribers_10.10.2004 include gold | append current_gold_subscribers