Command Completion, Editing, And History; Viewing Help; Size Representations; Keyboard Shortcuts For Command Completion, Editing, And History - HP P2000 G3 Cli Reference Manual

Msa system
Hide thumbs Also See for P2000 G3:
Table of Contents

Advertisement

Command completion, editing, and history

The CLI supports command completion, command editing, and command history.
When entering commands interactively you can abbreviate their names and keywords. For example, you
can enter sho cl to run the show cli-parameters command. If you press Tab or Ctrl+i after typing
sufficient characters to uniquely identify the command or keyword, the remainder of the command or
keyword is displayed so you can confirm your intent. If you enter too few letters to uniquely identify a
keyword, pressing Tab or Ctrl+i will list commands or keywords that match the entered string and
redisplays the string so you can complete it.
When scripting commands, type commands in full to aid readability.
The history contains commands entered in the active CLI session. You can recall a command from the
history, edit it, and run it.
Table 4

Keyboard shortcuts for command completion, editing, and history

To
Complete a partially entered keyword Tab or Ctrl+i
Show command history
Get previous command from history
Get next command from history
Move cursor left
Move cursor right
Delete previous character

Viewing help

To view brief descriptions of all commands that are available to the user level you logged in as, enter:
help
To view help for a command and then return to the command prompt, enter:
help command-name
To view the information shown in
help syntax
To view the information shown in this topic and in
enter:
help help

Size representations

Parameters such as names of users and volumes have a maximum length in bytes. ASCII characters are 1
byte; most Latin (Western European) characters with diacritics are 2 bytes; most Asian characters are 3
bytes.
Operating systems usually show volume size in base 2. Disk drives usually show size in base 10. Memory
(RAM and ROM) size is always shown in base 2.
In the CLI, the base for entry and display of storage-space sizes can be set per user or per session; see
create user
and
can be specified.
Press
F6
Up Arrow
Down Arrow
Left Arrow
Right Arrow
Backspace
Command syntax
set
cli-parameters. When entering storage-space sizes only, either base-2 or base- 1 0 units
above, enter:
Command completion, editing, and history
HP P2000 G3 MSA System CLI Reference Guide
above,
23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents