TMF Reference Manual (G06.24+)
TMFCOM Commands
HP NonStop TMF Reference Manual—522418-002
3-311
!
!
The ! (exclamation-point) command re-executes a command previously issued in the
current TMFCOM session, as recorded in the TMFCOM command history buffer.
-linenum
identifies the command to be re-executed relative to the current command line.
For instance, !-3 re-executes the third command prior to the current one.
linenum
identifies the command to be re-executed by command line number. For instance,
!2 re-executes the second command of the current TMFCOM session.
string
identifies the command to be re-executed by a text string that specifies the first
character or grouping of characters in that command. For instance, !ADD D re-
executes the most recent TMFCOM command that begins with “ADD D” and !INFO
DUMPS $ re-executes the most recent INFO DUMPS command that begins with a
volume name.
"quoted-string"
identifies the command to be re-executed by a text string, enclosed in double (or
single) quotes, that specifies a character or grouping of characters located
anywhere in the command to be re-executed. TMFCOM searches every character
in the history buffer until it finds this string, and then re-executes the command that
contains this string. Notice that the string can appear anywhere in a command, not
just as the first character or first character grouping. As an example, !“DATAVOL”
re-executes the most recent command that refers to a data volume.
Security Restrictions
Anyone can enter the ! command.
TMF State Requirement
You can enter the ! command at any time, whether or not TMF has been started.
Usage Guidelines
Use the ! (exclamation-point) command to display and immediately re-execute a
specific command entered previously in the current TMFCOM session. Use the ?
(question mark) command, explained following this ! command description, to simply
display a command.
! [-linenum | linenum | string | "quoted-string "]