Menu Basics
Command Line History and Editing
Using the command line interface, you can retrieve and modify previously entered commands
with just a few keystrokes. The following options are available globally at the command line:
Table 2-2: Command Line History and Editing Options
Option Description
history
Displays a numbered list of the last ten previously entered commands.
!!
Repeats the last entered command.
!
n
Repeats the nth command shown on the history list.
<
Ctrl-p
> or
Up arrow key
Recalls the previous command from the history list. This can be used multiple
times to work backward through the last ten commands. The recalled
command can be entered as is, or edited using the options below.
<
Ctrl-n
> or
Down arrow key
Recalls the next command from the history list. This can be used multiple
times to work forward through the last ten commands. The recalled command
can be entered as is, or edited using the options below.
<
Ctrl-a
>
Moves the cursor to the beginning of the command line.
<
Ctrl-e
>
Moves cursor to the end of the command line.
<
Ctrl-b
> or
Left arrow key
Moves the cursor back one position to the left.
<
Ctrl-f
> or
Right arrow key
Moves the cursor forward one position to the right.
<
Backspace
> or
Delete
key
Erases one character to the left of the cursor position.
<
Ctrl-d
>
Deletes one character at the cursor position.
<
Ctrl-k
>
Erases all characters from the cursor position to the end of the command line.
<
Ctrl-l
>
Redisplays the current line.
<
Ctrl-u
>
Clears the entire line.
Other keys
Inserts new characters at the cursor position.
.
Prints the current level menu list.
..
Moves to the previous directory level.
HP ProLiant BL p-Class GbE2 Interconnect Switch Command Reference Guide
2-5
HP CONFIDENTIAL
Codename: Strawberry Part Number: 331404-001 Last Saved On: 7/17/03 12:48 PM