Purpose
Command or Action
Disables the enhanced editing mode for the current terminal session
in the privileged EXEC mode.
terminal no editing
Example:
Switch#
terminal no editing
Step 2
Editing Commands through Keystrokes
The keystrokes help you to edit the command lines. These keystrokes are optional.
The arrow keys function only on ANSI-compatible terminals such as VT100s.
Note
Table 3: Editing Commands
Description
Editing Commands
Moves the cursor back one character.
Ctrl-B
or use the
left arrow
key
Moves the cursor forward one character.
Ctrl-F
or use the
right arrow
key
Moves the cursor to the beginning of the command
line.
Ctrl-A
Moves the cursor to the end of the command line.
Ctrl-E
Moves the cursor back one word.
Esc B
Moves the cursor forward one word.
Esc F
Transposes the character to the left of the cursor with
the character located at the cursor.
Ctrl-T
Erases the character to the left of the cursor.
Delete
or
Backspace
key
Deletes the character at the cursor.
Ctrl-D
Deletes all characters from the cursor to the end of
the command line.
Ctrl-K
Deletes all characters from the cursor to the beginning
of the command line.
Ctrl-U
or
Ctrl-X
Deletes the word to the left of the cursor.
Ctrl-W
Catalyst 2960-XR Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX1
8
OL-29434-01
Using the Command-Line Interface
Enabling and Disabling Editing Features