SCF Reference Manual for G-Series RVUs (G06.27+)
SCF Commands
SCF Reference Manual for G-Series RVUs—520413-005
5-134
? Command
? Command
The ? command causes a previous command line to be displayed.
[ - ] number
if the minus sign (-) is omitted, is the line number of the command line to be
displayed. If the minus sign is present, the current command-line number minus
number is the line number of the command line to be displayed.
character-string
is the first few characters of the command line to be displayed. The most recent
command line whose first characters match the string is displayed.
Considerations
•
If you use ? alone, the previous command is displayed (? alone is the same as ? -
1).
•
If you specify a negative number and the associated command line is no longer in
the history buffer, you get an error message. (The history buffer of command lines
is 2048 bytes long.)
•
The ? command does not increment the command-line number in the SCF prompt.
The display of command-line numbers in the prompt is controlled by the
SETPROMPT command (described on page 5-107).
•
The ? command cannot be issued by a noninteractive user; if encountered, it is
ignored.
•
The ? command cannot be followed by another command on the same line.
Example
The following command sequence demonstrates use of the ? command. (The notation
to the right of the example explains the use of the ? command in this example.)
-> START LINE $L1
-> STATUS LINE $L1
<status display>
-> ?STAR Display the most recent command
-> START LINE $L1 beginning with the characters “STAR”.
? [ - ] number | character-string