NET/MASTER Management Services (MS) Command Reference Manual

FC
NonStop NET/MASTER MS Commands
115412 Tandem Computers Incorporated 2–95
FC The FC command displays a previously executed command in the OCS command
input line for modification and reexecution. Entering the FC command with no
operands displays the most recently executed command. The PROFILE CMDSTACK
command provides details about the history buffer, which contains previously
executed commands.
FC [
number
|
text
]
number
specifies an absolute command line number.
If you specify a number, NonStop NET/MASTER MS displays the command with
that line number. If you do not specify a number, NonStop NET/MASTER MS
displays the most recently executed command.
text
specifies a text string.
If you specify a text string, NonStop NET/MASTER MS displays the most recently
executed command that begins with that text string. If you do not specify a text
string, NonStop NET/MASTER MS displays the most recently executed
command.
Considerations
The default authority level of this command is 0.
You cannot enter this command from an NCL procedure, only from a command
input line.
If NonStop NET/MASTER MS cannot find a command line that matches your
specification, it issues an error message.
The cursor is positioned at the beginning of the command when it is displayed in
the OCS command input line.
For related information, see the !, ?, CS-, CS+, HISTORY, and PROFILE
CMDSTACK commands.
Examples
1. The following example displays the command in command line 1 of the history
buffer:
FC 1
2. The following example displays most recently executed command beginning with
the text string SH:
FC SH