TMF Reference Manual (G06.26+)
TMFCOM Commands
HP NonStop TMF Reference Manual—522418-003
3-175
HISTORY
•
To clear the most recently entered command line in the buffer, and change the
current line number to that of the cleared command line, enter the HISTORY
command with the RESET LAST option.
•
To clear all commands in the buffer and reset the command line counter to 1, enter
the HISTORY command with the RESET ALL option.
In the display, all non-blank lines appear, whether or not they contained valid,
executable commands. For example, if a syntax error in a command prevented its
execution, HISTORY still displays the command.
The FC, !, and ? commands also operate on commands in the history buffer. Each line
that an FC, !, or ? command causes to be repeated will appear as a new line in the
HISTORY display, just as if you had entered the command once more. The FC, !, or ?
command itself, however, will not appear.
Output Displayed
The HISTORY command lists the command lines entered in the current TMFCOM
session, preceded by their line numbers. The items in the display are listed in
Table 3-8.
Examples
The following HISTORY command, the fifth command entered in the current session,
displays all TMFCOM commands entered thus far:
TMF 5> HISTORY
1> OPEN SERVER \NY
2> INFO TMF
3> STATUS TMF
4> STATUS DATAVOLS
5> HISTORY
TMF 6>
More commands are entered in the session, and the next HISTORY command
displays the four most recent commands:
TMF 9>HISTORY 4
6> INFO AUDITDUMP *
7> ADD DATAVOL $DATA1
8> INFO DATAVOLS
9> HISTORY 4
10>
Table 3-8. HISTORY Output
Heading or Item Description
Line Number Line number of the command line.
Command The command text entered, whether or not it constituted a
valid TMFCOM command. The HISTORY command that
requested the current display is shown last.