Scrolling The Screen Display; Filtering Command Output; Redirecting Command Output To A File - Cisco SCE8000 Configuration Manual

Service control engine
Table of Contents

Advertisement

Managing Command Output
By default, the show commands act the same as the more commands; that is, the output is displayed
Note
interactively a single screen at a time. Use the no more command to disable this feature so that show
commands display the complete output all at one time.

Scrolling the Screen Display

The output of some show and dir commands is quite lengthy and cannot all be displayed on the screen
at one time. Commands with many lines of output are displayed in chunks of 24 lines. You can choose
to scroll the display line by line or refresh the entire screen. At the prompt after any line, you can type
one of the following keys for the desired action:

Filtering Command Output

You can filter the output of certain commands, such as show, more, and dir, so that output lines are
displayed only if they include or exclude a specified expression. The filtering options are as follows:
The syntax of filtered commands is as follows:
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:
Cisco SCE8000 Software Configuration Guide, Rel 3.1.6S
2-10
<Enter>- Show one more line
<Space>- Show 24 more lines (a new chunk)
<g>- Stop prompting for more
<?>- Display a help string showing possible options
Any other key- Quit showing the file
include — Shows all lines that include the specified text.
exclude — Does not show any lines that include the specified text.
begin — Finds the first line that includes the specified text, and shows all lines starting from that
line. All previous lines are excluded.
<command>| include <expression>
<command>| exclude <expression>
<command>| begin <expression>
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.
Chapter 2
Command Line Interface
OL-16479-01

Advertisement

Table of Contents
loading

Table of Contents