HP MSA 2040 CLI Reference Guide
Command completion, editing, and history 21
User password rules
A user password is case sensitive and must contain 8–32 characters. A password cannot contain the
following characters: angle brackets, backslash, comma, double quote, single quote, or space.
If the password contains only printable ASCII characters then it must contain at least one uppercase
character, one lowercase character, and one non-alphabetic character. This rule does not apply if the
password contains UTF-8 characters that are outside the range of printable ASCII characters.
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.
Viewing help
To view brief descriptions of all commands that are available to the user level you logged in as, enter:
help
To view full help for a command name, enter:
help
command-name
To view the information shown in Command syntax above, enter:
help syntax
To view the information shown in this topic and in Command completion, editing, and history above, enter:
help help
Table 3 Keyboard shortcuts for command completion, editing, and history
To Press
Complete a partially entered keyword Tab or Ctrl+i
Show command history F6
Get previous command from history Up Arrow
Get next command from history Down Arrow
Move cursor left Left Arrow
Move cursor right Right Arrow
Delete previous character Backspace