Cisco AIR-AP1121G-E-K9 Hardware Installation Guide - Page 56

Using Editing Features, Enabling and Disabling Editing Features, Editing Commands through Keystrokes

Page 56 highlights

Using Editing Features Chapter 5 Using the Command-Line Interface Using Editing Features This section describes the editing features that can help you manipulate the command line. It contains these sections: • Enabling and Disabling Editing Features, page 5-6 • Editing Commands through Keystrokes, page 5-6 • Editing Command Lines that Wrap, page 5-7 Enabling and Disabling Editing Features Although enhanced editing mode is automatically enabled, you can disable it. To re-enable the enhanced editing mode for the current terminal session, enter this command in privileged EXEC mode: ap# terminal editing To reconfigure a specific line to have enhanced editing mode, enter this command in line configuration mode: ap(config-line)# editing To globally disable enhanced editing mode, enter this command in line configuration mode: ap(config-line)# no editing Editing Commands through Keystrokes Table 5-5 shows the keystrokes that you need to edit command lines. Table 5-5 Editing Commands through Keystrokes Capability Move around the command line to make changes or corrections. Keystroke1 Ctrl-B or the left arrow key Ctrl-F or the right arrow key Ctrl-A Ctrl-E Esc B Esc F Ctrl-T Recall commands from the buffer and paste them in the command line. The access point provides a buffer with the last ten items that you deleted. Ctrl-Y Esc Y Purpose Move the cursor back one character. Move the cursor forward one character. Move the cursor to the beginning of the command line. Move the cursor to the end of the command line. Move the cursor back one word. Move the cursor forward one word. Transpose the character to the left of the cursor with the character located at the cursor. Recall the most recent entry in the buffer. 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. Cisco Aironet 1100 Series Access Point Hardware Installation Guide 5-6 OL-4309-02

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122

5-6
Cisco Aironet 1100 Series Access Point Hardware Installation Guide
OL-4309-02
Chapter 5
Using the Command-Line Interface
Using Editing Features
Using Editing Features
This section describes the editing features that can help you manipulate the command line. It contains
these sections:
Enabling and Disabling Editing Features, page 5-6
Editing Commands through Keystrokes, page 5-6
Editing Command Lines that Wrap, page 5-7
Enabling and Disabling Editing Features
Although enhanced editing mode is automatically enabled, you can disable it.
To re-enable the enhanced editing mode for the current terminal session, enter this command in
privileged EXEC mode:
ap#
terminal editing
To reconfigure a specific line to have enhanced editing mode, enter this command in line configuration
mode:
ap(config-line)#
editing
To globally disable enhanced editing mode, enter this command in line configuration mode:
ap(config-line)#
no editing
Editing Commands through Keystrokes
Table 5-5
shows the keystrokes that you need to edit command lines.
Table 5-5
Editing Commands through Keystrokes
Capability
Keystroke
1
Purpose
Move around the command line to
make changes or corrections.
Ctrl-B
or the left arrow
key
Move the cursor back one character.
Ctrl-F
or the right arrow
key
Move the cursor forward one character.
Ctrl-A
Move the cursor to the beginning of the command line.
Ctrl-E
Move the cursor to the end of the command line.
Esc B
Move the cursor back one word.
Esc F
Move the cursor forward one word.
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
access point provides a buffer with
the last ten items that you deleted.
Ctrl-Y
Recall the most recent entry in the buffer.
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.