TMF Reference Manual (G06.24+)

TMFCOM Commands
HP NonStop TMF Reference Manual522418-002
3-142
FC
FC
The FC command permits you to display and repeat or modify a command previously
entered in the current TMFCOM session, as recorded in the TMFCOM command
history buffer:
-linenum
identifies the command to be displayed relative to the current command line. For
instance, FC -3 displays the third command before the current one and allows you
to repeat or modify it.
linenum
identifies the command to be displayed by command line number. For instance,
FC 2 displays the second command of the current session, and allows you to
repeat or modify it.
string
identifies the command to be displayed by a text string that specifies the first
character or group of characters in that command. For instance, FC ADD displays
the most recent ADD command and allows you to repeat or modify it.
quoted-string
identifies the command to be displayed by a text string, enclosed in double or
single quotes, that specifies a character or group of characters located anywhere
in that command. TMFCOM searches every character in the history buffer until it
finds this string, and then displays the command that contains this string, allowing
you to repeat or modify the command. Notice that the string can appear anywhere
in a command, not just as the first character or first character grouping. As an
example, FC “$DATA1” displays the most recent command that referred to a disk
volume named “$DATA1.”
Security Restrictions
Anyone can enter the FC command.
TMF State Requirement
You can enter the FC command at any time, whether or not TMF has been started.
Usage Guidelines
Use the FC command to display, re-execute, or modify and re-execute, a specific
command entered previously in the current TMFCOM session. If you use the FC
FC [-linenum | linenum | string | quoted-string]