Alteon OS Command Reference

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 3-2Command 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 nth command shown on the history list.

<Ctrl-p>

(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>

(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 com-

 

mand 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>

(Also the left arrow key.) Move the cursor back one position to the left.

 

 

<Ctrl-f>

(Also the right arrow key.) Move the cursor forward one position to the right.

 

 

<Backspace>

(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.

 

 

40M2420, April 2007

Chapter 3: Menu Basics „ 53

Page 53
Image 53
Nortel Networks 40M2420 manual 2Command Line History and Editing Options, Repeat the nth command shown on the history list