Adaptec iSA1500 User Guide - Page 145

Command Line Editing, Commands and parameters can be edited as you type by using

Page 145 highlights

Using CLI Most commands and parameters can be abbreviated to their shortest unique abbreviation. For example, if you are in the Operator level and wish to change to the Administrator level, all you have to type is ad as there are no other commands starting with "ad". Command Line Editing Commands and parameters can be edited as you type by using common keystrokes. Table 8-1 lists the editing keystrokes that can be used. Table 8-1 Editing Keystrokes Keystroke Ctrl-A Ctrl-B Ctrl-C Ctrl-D Ctrl-E Ctrl-F Ctrl-H; Del; Backspace Ctrl-K Ctrl-L; Ctrl-R Ctrl-N; down-arrow Ctrl-P; up-arrow Ctrl-S Ctrl-U Esc B Esc D Esc F Tab Function Jump to the start of the line Move cursor back one character (left) Escapes and terminates lengthy tasks Delete the character at, or in front of, the cursor Jump to the end of the current line Moves cursor forward one character Erases a mistake when entering a command Delete from the cursor forward to the end of the line Repeats current command on a new line Display the next command in the command history Display the previous command in the command history Search for a command in the command history Delete complete line Move cursor back one word Deletes from cursor to end of the word Moves cursor forward one word Complete the command or display alternatives if there is more than one possible command 8-6

  • 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
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218

8-6
Using CLI
Most commands and parameters can be abbreviated to their
shortest unique abbreviation. For example, if you are in the
Operator level and wish to change to the Administrator level, all
you have to type is
ad
as there are no other commands starting
with “ad”.
Command Line Editing
Commands and parameters can be edited as you type by using
common keystrokes.
Table 8-1
lists the editing keystrokes that can
be used.
Table 8-1
Editing Keystrokes
Keystroke
Function
Ctrl-A
Jump to the start of the line
Ctrl-B
Move cursor back one character (left)
Ctrl-C
Escapes and terminates lengthy tasks
Ctrl-D
Delete the character at, or in front of, the
cursor
Ctrl-E
Jump to the end of the current line
Ctrl-F
Moves cursor forward one character
Ctrl-H; Del; Backspace
Erases a mistake when entering a command
Ctrl-K
Delete from the cursor forward to the end of
the line
Ctrl-L; Ctrl-R
Repeats current command on a new line
Ctrl-N; down-arrow
Display the next command in the command
history
Ctrl-P; up-arrow
Display the previous command in the
command history
Ctrl-S
Search for a command in the command
history
Ctrl-U
Delete complete line
Esc B
Move cursor back one word
Esc D
Deletes from cursor to end of the word
Esc F
Moves cursor forward one word
Tab
Complete the command or display
alternatives if there is more than one possible
command