1-7
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-25303-03
Chapter 1 Using the Command-Line Interface
Using Editing Features
To re-enable the enhanced editing mode for the current terminal session, enter this command in
privileged 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
Editing Commands through Keystrokes
shows the keystrokes that you need to edit command lines. These keystrokes are optional.
Table 1-5
Editing Commands through Keystrokes
Capability
Keystroke
1
Purpose
Move around the command line to
make changes or corrections.
Press
Ctrl-B
, or press the
left arrow key.
Move the cursor back one character.
Press
Ctrl-F
, or press the
right arrow key.
Move the cursor forward one character.
Press
Ctrl-A
.
Move the cursor to the beginning of the command line.
Press
Ctrl-E
.
Move the cursor to the end of the command line.
Press
Esc B
.
Move the cursor back one word.
Press
Esc F
.
Move the cursor forward one word.
Press
Ctrl-T
.
Transpose the character to the left of the cursor with the
character located at the cursor.
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.
Press
Ctrl-Y.
Recall the most recent entry in the buffer.
Press
Esc Y
.
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.
Delete entries if you make a mistake
or change your mind.
Press the
Delete
or
Backspace
key.
Erase the character to the left of the cursor.
Press
Ctrl-D
.
Delete the character at the cursor.
Press
Ctrl-K
.
Delete all characters from the cursor to the end of the
command line.
Press
Ctrl-U
or
Ctrl-X
.
Delete all characters from the cursor to the beginning of
the command line.
Press
Ctrl-W
.
Delete the word to the left of the cursor.
Press
Esc D
.
Delete from the cursor to the end of the word.
Capitalize or lowercase words or
capitalize a set of letters.
Press
Esc C
.
Capitalize at the cursor.
Summary of Contents for Catalyst 3560-X Series
Page 12: ...Contents 10 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 13: ...Contents 11 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 14: ...Contents 12 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 15: ...Contents 13 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 16: ...Contents 14 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 17: ...Contents 15 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 18: ...Contents 16 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 19: ...Contents 17 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 20: ...Contents 18 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 21: ...Contents 19 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 22: ...Contents 20 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 23: ...Contents 21 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 24: ...Contents 22 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 25: ...Contents 23 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 26: ...Contents 24 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 27: ...Contents 25 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 28: ...Contents 26 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 29: ...Contents 27 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 30: ...Contents 28 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 31: ...Contents 29 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 32: ...Contents 30 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 33: ...Contents 31 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 34: ...Contents 32 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 35: ...Contents 33 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 36: ...Contents 34 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 37: ...Contents 35 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 38: ...Contents 36 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...
Page 42: ...56 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 Preface ...
Page 1538: ...Index IN 58 Catalyst 3750 X and 3560 X Switch Software Configuration Guide OL 25303 03 ...