Editing Command Lines That Wrap - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

Using the Command-Line Interface
Ctrl-K
Ctrl-U or Ctrl-X
Ctrl-W
Esc D
Esc C
Esc L
Esc U
Ctrl-V or Esc Q
Return key
Space bar
Ctrl-L or Ctrl-R

Editing Command Lines That Wrap

You can use a wraparound feature for commands that extend beyond a single line on the screen. When the
cursor reaches the right margin, the command line shifts ten spaces to the left. You cannot see the first ten
characters of the line, but you can scroll back and check the syntax at the beginning of the command. The
keystroke actions are optional.
To scroll back to the beginning of the command entry, press Ctrl-B or the left arrow key repeatedly. You can
also press Ctrl-A to immediately move to the beginning of the line.
The arrow keys function only on ANSI-compatible terminals such as VT100s.
Note
The following example shows how to wrap a command line that extends beyond a single line on the screen.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
Enabling and Disabling Editing Features
Deletes all characters from the cursor to the end of
the command line.
Deletes all characters from the cursor to the beginning
of the command line.
Deletes the word to the left of the cursor.
Deletes from the cursor to the end of the word.
Capitalizes at the cursor.
Changes the word at the cursor to lowercase.
Capitalizes letters from the cursor to the end of the
word.
Designates a particular keystroke as an executable
command, perhaps as a shortcut.
Scrolls down a line or screen on displays that are
longer than the terminal screen can display.
The More prompt is used for any output that
Note
has more lines than can be displayed on the
terminal screen, including show command
output. You can use the Return and Space
bar keystrokes whenever you see the More
prompt.
Scrolls down one screen.
Redisplays the current command line if the switch
suddenly sends a message to your screen.
9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents