Tab completion of commands – HP VMA-series Memory Arrays User Manual

Page 144

Advertising
background image

144

HP VMA SAN Gateway User’s Guide

AM456-9026A

For example:

When

<value required>

is displayed and only specific values can be used (such as interface

names or a VLAN identifier), those values will be displayed on new lines after

<value

required>

. Similarly, when the command is complete but could include additional options,

<cr>

and the options are displayed, each on a separate line.

Tab Completion of Commands

Commands can be completed by typing in the first few letters then pressing the Tab key (

<tab>

).

Pressing Tab once completes the command if there is only one way to complete it; otherwise it

expands the command to the next point of uncertainty. At that point, pressing Tab again displays a

list of possible completions, which might be keywords or values, or both.

> cli session ?
auto-logout Configure keyboard inactivity timeout for automatic logout
paging Configure the ability to view text one screen at a time
prefix-modes Configure the CLI's prefix modes feature for this session
progress Configure progress updates for long operations
terminal Set terminal parameters
x-display Set the display to use for X Windows applications

> cli session paging ?
enable Enable paging

> cli session paging enable ?
<cr>

> cli session terminal ?
length Set the number of lines for this terminal
resize Resize the CLI terminal settings (to match with real terminal)
type Set the terminal type
width Set the width of this terminal in characters

> cli session terminal width ?
<number of characters>

> cli session terminal width 60
>

h<tab>

Completes the

help

keyword.

sh<tab>

Completes the

show

keyword (but

s<tab>

does not, because more than

one command starts with the letter “s”).

Advertising
This manual is related to the following products: