Cisco AIR-AP1242AG-E-K9 Hardware Installation Guide - Page 62

Enabling and Disabling Editing Features, Editing Commands Through Keystrokes, Ctrl-B, Esc B, Delete

Page 62 highlights

Using Editing Features Chapter 5 Using the Command-Line Interface 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 Delete entries if you make a mistake Delete or Backspace or change your mind. Ctrl-D Ctrl-K Ctrl-U or Ctrl-X Ctrl-W Esc D 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. Erase the character to the left of the cursor. Delete the character at the cursor. Delete all characters from the cursor to the end of the command line. Delete all characters from the cursor to the beginning of the command line. Delete the word to the left of the cursor. Delete from the cursor to the end of the word. Cisco Aironet 1200 Series Access Point Hardware Installation Guide 5-6 OL-4310-05

  • 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
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160

5-6
Cisco Aironet 1200 Series Access Point Hardware Installation Guide
OL-4310-05
Chapter 5
Using the Command-Line Interface
Using Editing Features
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.
Delete entries if you make a mistake
or change your mind.
Delete
or
Backspace
Erase the character to the left of the cursor.
Ctrl-D
Delete the character at the cursor.
Ctrl-K
Delete all characters from the cursor to the end of the
command line.
Ctrl-U
or
Ctrl-X
Delete all characters from the cursor to the beginning of
the command line.
Ctrl-W
Delete the word to the left of the cursor.
Esc D
Delete from the cursor to the end of the word.