cc/td/doc/product/10bthubs/hub
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Terminal Editing Command Reference

Terminal Editing Command Reference

This appendix lists all the terminal editing commands and conventions, including enhanced editing features. All the command-line editing features are described below:

Enhanced Key Description
E1 Ctrl-A Move the cursor to the beginning of the command line.
E Ctrl-B Move the cursor back one character.
NE2 Ctrl-C Break out of the command without any change to the settings.
E Ctrl-D Delete the character at the cursor.
E Ctrl-E Move the cursor to the end of the command line.
E Ctrl-F Move the cursor forward one character.
NE Ctrl-I Recall a complete command name; same as the Tab key operation.
E Ctrl-K Delete all characters from the cursor to the end of the command line
E Ctrl-L Redisplay the current command line, same as the Ctrl-R key.
E Ctrl-N Recall the most recent command in the command history relative to the current pointer in the history list.
E Ctrl-P Recall the oldest command in the command history, beginning with the most recent command.
E Ctrl-R Redisplay the current command line; same as Ctrl-L key.
E Ctrl-T Transpose the characters to the left of the cursor with the character located at the cursor.
E Ctrl-U Delete all characters from the cursor to the beginning of the command line.
E Ctrl-V Insert a code to indicate that the immediately following value is a command entry.
E Ctrl-W Delete the word to the left of the cursor.
E Ctrl-X Delete all characters from the cursor to the beginning of the command line.
E Ctrl-Y Recall the most recent entry in the buffer (which contains the last ten items you deleted).
E Esc-B Move the cursor back one word.
E Esc-C Capitalize the word at the cursor.
E Esc-D Delete from the cursor to the end of the word.
E Esc-F Move the cursor forward one word.
E Esc-L Change the word at the cursor to lowercase.
E Esc-Q Insert a code to indicate that the immediately following value is a command entry.
E Esc-U Capitalize letters from the cursor to the end of the word.
E Esc-Y Recall the next deleted buffer. (Effective after using Ctrl-Y.)
NE Backspace Erases the character to the left of the cursor.
NE TAB Completes a partial entry for a command name.
NE DEL Deletes the character at the cursor.

1 E = Enhanced. Works in enhanced editing mode only.
2 NE = Not enhanced. Always works.

The editing commands can be logically grouped as follows:

Keystroke Description
Ctrl-P, Ctrl-N Scroll through command history
Ctrl-B, Ctrl-F, Ctrl-A, Ctrl-E, Esc-B, Esc-F Move cursor
Ctrl-D, Ctrl-K, Ctrl-U, Ctrl-X, Ctrl-W, Esc-D Key sequence for deleting text
Ctrl-Y, Esc-Y Paste contents from delete buffer
Esc-C, Esc-L, Esc-U Control capitalization

hometocprevnextglossaryfeedbacksearchhelp
Copyright 1989-1998 © Cisco Systems Inc.