Entering Commands; Editing Command Lines; Entering Incomplete Keywords; Configuring Command Aliases - HP 5800 Series Configuration Manual

Hide thumbs Also See for 5800 Series:
Table of Contents

Advertisement

Entering commands

Editing command lines

Table 2
lists some shortcut keys you can use to edit command lines.
Table 2 Editing functions
Key
Common keys
Backspace
Left arrow key or Ctrl+B
Right arrow key or Ctrl+F
Tab

Entering incomplete keywords

Enter a command comprising incomplete keywords that uniquely identify the complete command.
In user view, for example, commands starting with an s include startup saved-configuration and
system-view.
To enter system view, enter sy.
To set the configuration file for next startup, enter st s.
Press Tab to have an incomplete keyword automatically completed.

Configuring command aliases

The command alias function allows you to replace the first keyword of a command with your preferred
keyword. For example, if you configure show as the replacement for the display keyword, then to run display
xx, enter the command alias show xx.
The following guidelines apply when configuring a command alias:
Define and use a command alias. The command is not restored in its alias format.
When you define a command alias, the cmdkey and alias arguments must be in their complete form.
When you enter an incomplete keyword that partially matches both a defined alias and the keyword of
a command, the alias takes effect. To execute the command whose keyword partially matches your
entry, enter the complete keyword. When you enter a character string that partially matches multiple
aliases, the system gives you prompts.
Function
If the edit buffer is not full, pressing a common key inserts the character at the
position of the cursor and moves the cursor to the right.
Deletes the character to the left of the cursor and moves the cursor back one
character.
The cursor moves one character space to the left.
The cursor moves one character space to the right.
If you press Tab after entering part of a keyword, the system automatically
completes the keyword:
If finding a unique match, the system substitutes the complete keyword for
the incomplete one and displays it in the next line.
If there is more than one match, press Tab repeatedly to view in cycles all
keywords starting with the character string you entered.
If there is no match, the system does not modify the incomplete keyword
and displays it again in the next line.
6

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5820x seriesA5820x seriesA5800 series

Table of Contents