BLADE OS™ Command Reference HP GbE2c L2/L3 Ethernet Blade Switch Version 5.1 Advanced Functionality Software

BLADE OS 5.1 Command Reference
BMD00114, August 2009 Chapter 3: Menu Basics
45
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 5 Command Line History and Editing Options
Option Description
history Display a numbered list of the last 64 previously entered commands.
!! Repeat the last entered command.
!n Repeat the n
th
command shown on the history list.
<Ctrl-p>
or Up arrow key
(Also the up arrow key.) Recall the previous command from the history list.
This can be used multiple times to work backward through the last 64
commands. The recalled command can be entered as is, or edited using the
options below.
<Ctrl-n>
or Down arrow key
(Also the down arrow key.) Recall the next command from the history list.
This can be used multiple times to work forward through the last 64
commands. The recalled command can be entered as is, or edited using the
options below.
<Ctrl-a> Move the cursor to the beginning of command line.
<Ctrl-e> Move cursor to the end of the command line.
<Ctrl-b>
or Left arrow key
(Also the left arrow key.) Move the cursor back one position to the left.
<Ctrl-f>
or Right arrow key
(Also the right arrow key.) Move the cursor forward one position to the
right.
<Backspace>
or Delete key
(Also the Delete key.) Erase one character to the left of the cursor position.
<Ctrl-d> Delete one character at the cursor position.
<Ctrl-k> Kill (erase) all characters from the cursor position to the end of the
command line.
<Ctrl-l> Redraw the screen.
<Ctrl-u> Clear the entire line.
Other keys Insert new characters at the cursor position.
. Print the current level menu list.