Cisco Systems 1300 Series Using Editing Features, Enabling and Disabling Editing Features, Ctrl-A

Models: 1300 Series

1 146
Download 146 pages 10.97 Kb
Page 76
Image 76
Using Editing Features

Chapter 6 Using the Command-Line Interface

Using Editing Features

Using Editing Features

This section describes the editing features that can help you manipulate the command line. It contains these sections:

Enabling and Disabling Editing Features, page 6-8

Editing Commands Through Keystrokes, page 6-8

Editing Command Lines That Wrap, page 6-9

Enabling and Disabling Editing Features

Although enhanced editing mode is automatically enabled, you can disable it.

To re-enable the enhanced editing mode for the current terminal session, enter this command in privileged EXEC mode:

br# terminal editing

To reconfigure a specific line to have enhanced editing mode, enter this command in line configuration mode:

br(config-line)# editing

To globally disable enhanced editing mode, enter this command in line configuration mode:

br(config-line)# no editing

Editing Commands Through Keystrokes

Table 6-5shows the keystrokes that you need to edit command lines.

Table 6-5

Editing Commands Through Keystrokes

 

 

 

 

 

 

 

 

 

Capability

 

Keystroke

Purpose

 

 

 

 

 

 

 

Move around the command line to

Ctrl-Bor the left arrow

Move the cursor back one character.

 

 

make changes or corrections.

key1

 

 

 

 

 

 

Ctrl-For the right arrow

Move the cursor forward one character.

 

 

 

 

 

key1

 

 

 

 

 

 

Ctrl-A

Move the cursor to the beginning of the command line.

 

 

 

 

 

 

 

 

 

 

 

 

Ctrl-E

Move the cursor to the end of the command line.

 

 

 

 

 

 

 

 

 

 

 

 

Esc B

Move the cursor back one word.

 

 

 

 

 

 

 

 

 

 

 

 

Esc F

Move the cursor forward one word.

 

 

 

 

 

 

 

 

 

 

 

 

Ctrl-T

Transpose the character to the left of the cursor with the

 

 

 

 

 

 

character located at the cursor.

 

 

 

 

 

 

 

Recall commands from the buffer and

Ctrl-Y

Recall the most recent entry in the buffer.

 

 

paste them in the command line. The

 

 

 

 

Esc Y

Recall the next buffer entry.

 

 

access point/bridge provides a buffer

 

The buffer contains only the last 10 items that you have

 

 

with the last ten items that you

 

 

 

deleted.

 

 

deleted or cut. If you press Esc Y more than ten times, you

 

 

 

 

 

 

cycle to the first buffer entry.

 

 

 

 

 

 

 

 

 

 

 

Cisco Aironet 1300 Series Outdoor Access Point/Bridge Hardware Installation Guide

 

 

 

 

 

 

 

 

 

 

 

 

 

6-8

 

 

 

OL-5048-02

 

 

 

 

 

 

Page 76
Image 76
Cisco Systems 1300 Series Using Editing Features, Enabling and Disabling Editing Features, Ctrl-A, Ctrl-E, Esc B, Esc F