Editing Commands Through Keystrokes - Cisco 2950 - Catalyst Switch Configuration Manual

Software configuration guide
Hide thumbs Also See for 2950 - Catalyst Switch:
Table of Contents

Advertisement

Chapter 2
Using the Command-Line Interface
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 2-5
Table 2-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.
Delete entries if you make a mistake
or change your mind.
Capitalize or lowercase words or
capitalize a set of letters.
Designate a particular keystroke as
an executable command, perhaps as a
shortcut.
78-11380-10
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.
Press Esc Y.
Press the Delete or
Backspace key.
Press Ctrl-D.
Press Ctrl-K.
Press Ctrl-U or Ctrl-X.
Press Ctrl-W.
Press Esc D.
Press Esc C.
Press Esc L.
Press Esc U.
Press Ctrl-V or Esc Q.
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
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.
Recall the next buffer entry.
The buffer contains only the last 10 items that you have
deleted or cut. If you press Esc Y more than ten times, you
cycle to the first buffer entry.
Erase the character to the left of the cursor.
Delete the character at the cursor.
Delete all characters from the cursor to the end of the
command line.
Delete all characters from the cursor to the beginning of
the command line.
Delete the word to the left of the cursor.
Delete from the cursor to the end of the word.
Capitalize at the cursor.
Change the word at the cursor to lowercase.
Capitalize letters from the cursor to the end of the word.
Using Editing Features
2-7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents