Cisco Systems ASR 9000 Key Combinations, Recalling Deleted Entries, Redisplaying the Command Line

Models: A9KMOD80TR A9K24X10GETR ASR 9000

1 142
Download 142 pages 58.88 Kb
Page 120
Image 120
Recalling Deleted Entries

 

 

 

 

Chapter 5 CLI Tips, Techniques, and Shortcuts

 

Key Combinations

 

 

 

 

F I N A L D R A F T — C i s c o C o n f i d e n t i a l

 

 

Table 5-6

Command History

 

 

 

 

 

 

Command or Key Combination

Purpose

 

 

 

 

 

 

Ctrl-P or the up arrow key

Recalls commands in the history buffer, beginning with the most

 

 

 

 

recent command. Repeat the key sequence to recall successively

 

 

 

 

older commands.

 

 

 

 

 

 

Ctrl-N or the down arrow key

Returns to more recent commands in the history buffer after

 

 

 

 

recalling commands with Ctrl-P or the up arrow key. Repeat the key

 

 

 

 

sequence to recall successively more recent commands.

 

 

 

 

 

Recalling Deleted Entries

The Cisco IOS XR CLI also stores deleted commands or keywords in a history buffer. The buffer stores the last ten items that have been deleted using Ctrl-K, Ctrl-U, or Ctrl-X. Individual characters deleted using Backspace or Ctrl-D are not stored.

Table 5-7identifies the keystroke combinations used to recall deleted entries to the command line.

Table 5-7 Keystroke Combinations to Recall Deleted Entries

Command or Key Combination

Recalls

 

 

Ctrl-Y

The most recent entry in the buffer (press the keys simultaneously).

 

 

Esc, Y

The previous entry in the history buffer (press the keys

 

sequentially).

 

 

Note The Esc, Y key sequence does not function unless the Ctrl-Y key combination is pressed first. If the Esc, Y is pressed more than ten times, the history cycles back to the most recent entry in the buffer.

Redisplaying the Command Line

If the system sends a message to the screen while a command is being entered, the current command line entry can be redisplayed using the Ctrl-L or Ctrl-R key combination.

Key Combinations

The following sections provide information on key combinations:

Key Combinations to Move the Cursor, page 5-19

Keystrokes to Control Capitalization, page 5-19

Keystrokes to Delete CLI Entries, page 5-20

Transposing Mistyped Characters, page 5-20

 

Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide

5-18

OL-17502-01

Page 120
Image 120
Cisco Systems ASR 9000, A9K24X10GETR manual Key Combinations, Recalling Deleted Entries, Redisplaying the Command Line, 5-18