HP e-Commerce / XML director server appliance sa8250 - Users Guide
C H A P T E R 5 HP e-Commerce/XML Director Server Appliance SA8250 User Guide
154
Online Help
The SA8250 provides online CLI command help in six forms:
1. Type
help to describe help features.
2. Type
help commands to display the list of commands you can
enter at the current prompt.
3. Type
help ttychars to display a list of special terminal
editing characters.
4. Type
help <command> for a description of a specific
command or, if relevant, a list of sub-commands you can enter
from within
<command>.
5. Type
? to display a path list of commands and parameters
available from the current prompt or
<command> forward.
6. Typing
? or help as one of a command’s parameters, that is,
<command> ?, displays help regarding the parameters available
for
<command>.
Pipes
Any command’s output can be "piped" using the ’|’ symbol with
"grep" or "more."
• Redirecting a command to
more pages that command's output
regardless of the
config cli more setting.
• Redirecting a command to
grep displays only the command
output's lines that contain the word specified after
grep to be
displayed.
HP SA8250#info | grep SNMP
The above command filters the output of the info command using
grep such that only lines containing "SNMP" are displayed.
• Pipes to
grep can be cascaded.
HP SA8250/config/policygroup/test/service#
info | grep Primary | grep serv1.com
The above command displays only lines containing "Primary"
AND "serv1.com."
• The output of a command can be redirected to both
grep and
more, but the pipe to more must be the last pipe present.
HP SA8250/config/policygroup/test/service#
info | grep Primary | grep serv1.com | more