Cisco Systems OL-6244-01 Switch User Manual


  Open as PDF
of 1438
 
1-4
Catalyst 6500 Series Switch Command Reference—Release 8.4
OL-6244-01
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands
Switch CLI
Using the Command-Line Editing Features
Catalyst 6500 series switch software includes an enhanced editing mode that provides a set of editing
key functions similar to those of the Emacs editor. You can enter commands in uppercase, lowercase, or
a mix of both. Only passwords are case sensitive. You can abbreviate commands and keywords to the
number of characters that allow a unique abbreviation.
For example, you can abbreviate the show command to sh. After entering the command at the system
prompt, press Return to execute the command.
Moving Around on the Command Line
Perform one of these tasks to move the cursor around on the command line for corrections or changes:
Completing a Partial Command Name
If you cannot remember a complete command name, press the Tab key to allow the system to complete
a partial entry. To do so, perform this task:
If your keyboard does not have a Tab key, press Ctrl-I instead.
Esc B Moves the cursor back one word.
Esc D Deletes from the cursor to the end of the word.
Esc F Moves the cursor forward one word.
Delete key or Backspace key Erases a mistake when entering a command; reenter the
command after using this key.
1. The arrow keys function only on ANSI-compatible terminals such as VT100s.
Table 1-1 Command-Line Processing Keystroke (continued)
Keystroke Function
Task Keystrokes
Move the cursor back one character. Press Ctrl-B or press the left arrow key
1
.
1. The arrow keys function only on ANSI-compatible terminals such as VT100s.
Move the cursor forward one character. Press Ctrl-F or press the right arrow key
1
.
Move the cursor to the beginning of the
command line.
Press Ctrl-A.
Move the cursor to the end of the
command line.
Press Ctrl-E.
Move the cursor back one word. Press Esc B.
Move the cursor forward one word. Press Esc F.
Task Keystrokes
Complete a command name. Enter the first few letters and press the
Tab key.