Lenovo RD220 User Guide - Page 83

Utility commands, exit command, Description, help command

Page 83 highlights

v In the command-line interface, the output buffer limit is 2 KB. There is no buffering. The output of an individual command cannot exceed 2048 characters. This limit does not apply in serial redirect mode (the data is buffered during serial redirect). v The output of a command is displayed on the screen after the command has completed execution. This makes it impossible for commands to report real-time execution status. For example, in the verbose mode of the flashing command, the flashing progress is not shown in real time. It is shown after the command completes execution. v Simple text messages are used to denote command execution status, as in the following example: system> power on ok system> power state Power: On State: System power off/State unknown system> v The command syntax is case sensitive. v There must be at least one space between an option and its argument. For example, ifconfig eth0 -i192.168.70.133 is incorrect syntax. The correct syntax is ifconfig eth0 -i 192.168.70.133. v All commands have the -h, -help, and ? options, which give syntax help. All of the following examples will give the same result: system> power -h system> power -help system> power ? v Some of the commands that are described in the following sections might not be available. To see a list of the commands that are supported, use the help or ? option, as shown in the following examples: system> help system> ? Utility commands The utility commands are as follows: v exit v help v history exit command Description Use the exit command to log off and end the command-line interface session. help command Description Use the help command to display a list of all commands with a short description for each. You can also type ? at the command prompt. Chapter 7. Command-line interface 77

  • 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

v
In the command-line interface, the output buffer limit is 2 KB. There is no
buffering. The output of an individual command cannot exceed 2048 characters.
This limit does not apply in serial redirect mode (the data is buffered during
serial redirect).
v
The output of a command is displayed on the screen after the command has
completed execution. This makes it impossible for commands to report real-time
execution status. For example, in the verbose mode of the
flashing
command,
the flashing progress is not shown in real time. It is shown after the command
completes execution.
v
Simple text messages are used to denote command execution status, as in the
following example:
system> power on
ok
system> power state
Power: On
State: System power off/State unknown
system>
v
The command syntax is case sensitive.
v
There must be at least one space between an option and its argument. For
example,
ifconfig eth0 -i192.168.70.133
is incorrect syntax. The correct
syntax is
ifconfig eth0 -i 192.168.70.133
.
v
All commands have the
-h, -help
, and
?
options, which give syntax help. All of
the following examples will give the same result:
system> power -h
system> power -help
system> power ?
v
Some of the commands that are described in the following sections might not be
available. To see a list of the commands that are supported, use the help or ?
option, as shown in the following examples:
system> help
system> ?
Utility commands
The utility commands are as follows:
v
exit
v
help
v
history
exit command
Description
Use the
exit
command to log off and end the command-line interface session.
help command
Description
Use the
help
command to display a list of all commands with a short description
for each. You can also type
?
at the command prompt.
Chapter 7. Command-line interface
77