HP GbE2c HP GbE2c Ethernet Blade Switch for c-Class BladeSystem Command Refere - Page 16

Command line history and editing, verbose n, telnet, port], history, pushd, Ctrl-p, Backspace

Page 16 highlights

Table 4 Global commands Command verbose n telnet history pushd popd who Action Sets the level of information displayed on the screen: • 0 = Quiet: Nothing displays except errors, not even prompts. • 1 = Normal: Prompts and requested output are shown, but no menus. • 2 = Verbose: Everything is shown. This is the default. • When used without a value, the current setting is displayed. This command is used to Telnet out of the switch. The format is: telnet | [port] Displays the history of the last ten commands. Remembers the current location in the directory of menu commands. Returns to the last pushd location. Displays users who are logged in. Command line history and editing Using the command line interface, you can retrieve and modify previously entered commands with just a few keystrokes. The following options are available globally at the command line: Table 5 Command line history and editing options Option history !! !n or Up arrow key or Down arrow key or Left arrow key or Right arrow key or Delete key Other keys . .. Description Displays a numbered list of the last ten previously entered commands. Repeats the last entered command. Repeats the nth command shown on the history list. Recalls the previous command from the history list. This can be used multiple times to work backward through the last ten commands. The recalled command can be entered as is, or edited using the options below. Recalls the next command from the history list. This can be used multiple times to work forward through the last ten commands. The recalled command can be entered as is, or edited using the options below. Moves the cursor to the beginning of the command line. Moves cursor to the end of the command line. Moves the cursor back one position to the left. Moves the cursor forward one position to the right. Erases one character to the left of the cursor position. Deletes one character at the cursor position. Erases all characters from the cursor position to the end of the command line. Redisplays the current line. Clears the entire line. Inserts new characters at the cursor position. Prints the current level menu list. Moves to the previous directory level. Menu basics 16

  • 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

Menu basics 16
Table 4
Global commands
Command
Action
verbose n
Sets the level of information displayed on the screen:
0 = Quiet: Nothing displays except errors, not even prompts.
1 = Normal: Prompts and requested output are shown, but no menus.
2 = Verbose: Everything is shown. This is the default.
When used without a value, the current setting is displayed.
telnet
This command is used to Telnet out of the switch. The format is:
telnet
<hostname>
|
<IP address>
[port]
history
Displays the history of the last ten commands.
pushd
Remembers the current location in the directory of menu commands.
popd
Returns to the last
pushd
location.
who
Displays users who are logged in.
Command line history and editing
Using the command line interface, you can retrieve and modify previously entered commands with just a few
keystrokes. The following options are available globally at the command line:
Table 5
Command line history and editing options
Option
Description
history
Displays a numbered list of the last ten previously entered commands.
!!
Repeats the last entered command.
!n
Repeats the nth command shown on the history list.
<
Ctrl-p
>
or
Up arrow
key
Recalls the previous command from the history list. This can be used multiple times to work
backward through the last ten commands. The recalled command can be entered as is, or
edited using the options below.
<
Ctrl-n
> or
Down
arrow
key
Recalls the next command from the history list. This can be used multiple times to work forward
through the last ten commands. The recalled command can be entered as is, or edited using the
options below.
<
Ctrl-a
>
Moves the cursor to the beginning of the command line.
<
Ctrl-e
>
Moves cursor to the end of the command line.
<
Ctrl-b
>
or
Left
arrow
key
Moves the cursor back one position to the left.
<
Ctrl-f
>
or
Right
arrow
key
Moves the cursor forward one position to the right.
<
Backspace
>
or
Delete
key
Erases one character to the left of the cursor position.
<
Ctrl-d
>
Deletes one character at the cursor position.
<
Ctrl-k
>
Erases all characters from the cursor position to the end of the command line.
<
Ctrl-l
>
Redisplays the current line.
<
Ctrl-u
>
Clears the entire line.
Other keys
Inserts new characters at the cursor position.
.
Prints the current level menu list.
..
Moves to the previous directory level.