Using Editing Features; Enabling And Disabling Editing Features; Editing Commands Through Keystrokes - Cisco Catalyst 2950 Software Manual

Desktop switch software configuration guide
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

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

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 user
EXEC mode:
Switch> terminal editing
To reconfigure a specific line to have enhanced editing mode, enter this command in line configuration
mode:
Switch(config-line)# editing
To globally disable enhanced editing mode, enter this command in line configuration mode:
Switch(config-line)# no editing

Editing Commands through Keystrokes

Table 3-5
Table 3-5
Editing Commands through Keystrokes
Capability
Move around the command line to
make changes or corrections.
Recall commands from the buffer and
paste them in the command line. (The
switch provides a buffer with the last
ten items that you deleted.)
Catalyst 2950 Desktop Switch Software Configuration Guide
3-6
Enabling and Disabling Editing Features, page 3-6
Editing Commands through Keystrokes, page 3-6
Editing Command Lines that Wrap, page 3-7
shows the keystrokes that you need to edit command lines.
1
Keystroke
Press Ctrl-B, or press the
left arrow key.
Press Ctrl-F, or press the
right arrow key.
Press Ctrl-A.
Press Ctrl-E.
Press Esc B.
Press Esc F.
Press Ctrl-T.
Press Ctrl-Y.
Chapter 3
Purpose
Move the cursor back one character.
Move the cursor forward one character.
Move the cursor to the beginning of the command line.
Move the cursor to the end of the command line.
Move the cursor back one word.
Move the cursor forward one word.
Transpose the character to the left of the cursor with the
character located at the cursor.
Recall the most recent entry in the buffer.
Using the Command-Line Interface
78-11380-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents