HP 6125G HP 6125G & 6125G/XG Blade Switches Fundamentals Configuration - Page 11

Entering a command, Editing a command line, Entering a STRING type value for an argument

Page 11 highlights

ftp ftp-server ftp-user Entering a command When you enter a command, you can use some keys or hotkeys to edit the command line, or use abbreviated keywords or keyword aliases. Editing a command line You can use the keys listed in Table 2 or the hotkeys listed in Table 3 to edit a command line. Table 2 Keys for editing a command line Key Common keys Backspace Left arrow key or Ctrl+B Right arrow key or Ctrl+F Tab Function If the edit buffer is not full, pressing a common key inserts the character at the position of the cursor and moves the cursor to the right. Deletes the character to the left of the cursor and moves the cursor back one character. Moves the cursor one character to the left. Moves the cursor one character to the right. If you press Tab after entering part of a keyword, the system automatically completes the keyword: • If a unique match is found, the system substitutes the complete keyword for the incomplete one and displays what you entered in the next line. • If there is more than one match, you can press Tab repeatedly to choose the keyword you want to enter. • If there is no match, the system does not modify what you entered but displays it again in the next line. Entering a STRING type value for an argument Generally, a STRING type argument value can contain any printable character (in the ASCII code range of 32 to 126) other than the question mark (?), quotation mark ("), backward slash (\), and space. However, a specific STRING type argument might have more strict requirements. For example, the domain name is of the STRING type. Invalid characters for it include the vertical bar (|), slash (/), colon (:), asterisk (*), less-than sign (),and at sign (@), as well as the question mark (?), quotation mark ("), backward slash (\), and space. For more information about the specific requirements for a STRING type argument, see the relevant command reference. system-view [Sysname] domain ? STRING Domain name Abbreviating commands You can enter a command line quickly by entering incomplete keywords that can uniquely identify the complete command. In user view, for example, commands starting with an s include startup 5

  • 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

5
ftp
ftp-server
ftp-user
Entering a command
When you enter a command, you can use some keys or hotkeys to edit the command line, or use
abbreviated keywords or keyword aliases.
Editing a command line
You can use the keys listed in
Table 2
or the hotkeys listed in
Table 3
to edit a command line.
Table 2
Keys for editing a command line
Key
Function
Common keys
If the edit buffer is not full, pressing a common key inserts the character at the
position of the cursor and moves the cursor to the right.
Backspace
Deletes the character to the left of the cursor and moves the cursor back one
character.
Left arrow key or
Ctrl+B
Moves the cursor one character to the left.
Right arrow key or
Ctrl+F
Moves the cursor one character to the right.
Tab
If you press
Tab
after entering part of a keyword, the system automatically
completes the keyword:
If a unique match is found, the system substitutes the complete keyword for
the incomplete one and displays what you entered in the next line.
If there is more than one match, you can press
Tab
repeatedly to choose
the keyword you want to enter.
If there is no match, the system does not modify what you entered but
displays it again in the next line.
Entering a STRING type value for an argument
Generally, a STRING type argument value can contain any printable character (in the ASCII code range
of 32 to 126) other than the question mark (?), quotation mark ("), backward slash (\), and space.
However, a specific STRING type argument might have more strict requirements. For example, the
domain name is of the STRING type. Invalid characters for it include the vertical bar (|), slash (/), colon
(:), asterisk (*), less-than sign (<), greater-than sign (>),and at sign (@), as well as the question mark (?),
quotation mark ("), backward slash (\), and space. For more information about the specific requirements
for a STRING type argument, see the relevant command reference.
<Sysname> system-view
[Sysname] domain ?
STRING<1-24>
Domain name
Abbreviating commands
You can enter a command line quickly by entering incomplete keywords that can uniquely identify the
complete command. In user view, for example, commands starting with an
s
include
startup