Chapter 6 CLI Tips, Techniques, and Shortcuts

Key Combinations

Key Combinations

The following sections provide information on key combinations:

Key Combinations to Move the Cursor, page 6-18

Keystrokes to Control Capitalization, page 6-18

Keystrokes to Delete CLI Entries, page 6-19

Key Combinations to Move the Cursor

Table 6-8shows the key combinations or sequences you can use to move the cursor around on the command line to make corrections or changes. When you use cursor control keys, consider the following guidelines:

Ctrl indicates the Control key, which must be pressed simultaneously with its associated letter key.

Esc indicates the Escape key, which must be pressed first, followed by its associated letter key.

Keys are not case sensitive.

Table 6-8

Key Combinations Used to Move the Cursor

 

 

 

 

Keystrokes

 

Function

Moves the Cursor

 

 

 

Left arrow or Ctrl-B

Back character

One character to the left.When you enter a command that extends

 

 

 

beyond a single line, you can press the left arrow or Ctrl-B keys

 

 

 

repeatedly to scroll back toward the system prompt and verify the

 

 

 

beginning of the command entry, or you can press the Ctrl-A key

 

 

 

combination.

 

 

 

Right arrow or Ctrl-F

Forward character

One character to the right.

 

 

 

 

Esc, B

 

Back word

Back one word.

 

 

 

 

Esc, F

 

Forward word

Forward one word.

 

 

 

 

Ctrl-A

 

Beginning of line

To the beginning of the line.

 

 

 

 

Ctrl-E

 

End of line

To the end of the command line.

 

 

 

 

Keystrokes to Control Capitalization

Letters can be capitalized or uncapitalized using simple key sequences. Table 6-9describes the keystroke combinations used to control capitalization.

Note Cisco IOS XR commands are generally case insensitive and typically all in lowercase.

Table 6-9

Keystrokes Used to Control Capitalization

Keystrokes

Esc, C

Purpose

Capitalizes the letter at the cursor.

 

Cisco IOS XR Getting Started Guide

6-18

OL-10957-02

Page 174
Image 174
Cisco Systems Cisco IOS XR manual Key Combinations to Move the Cursor, Keystrokes to Control Capitalization