Tnsvu usage example, Reviewing command history, Example of reviewing command history – HP Integrity NonStop H-Series User Manual

Page 18: Repeating a command

Advertising
background image

Using TNSVU

TNSVU User’s Guide528143-003

3 -4

TNSVU Usage Example

You do not need to use ENDLOG before exiting the TNSVU program. ENDLOG does
not close the object file you are currently viewing.

Exiting TNSVU automatically closes the log file.

TNSVU Usage Example

This following example instructs TNSVU to:

Open an object file named myfile

Log the commands and results to a text file named logfile

Summarize the file information and the external procedures that the program in
myfile uses

Quit (rather than supply a prompt for additional interactive commands)

TNSVU myfile, LOG logfile, FILEINFO, EXTERNALS, QUIT

Reviewing Command History

Use the HISTORY command to display the last twenty previously issued commands.
TNSVU associates each of the last twenty commands you enter with a number and
displays each command as it was first typed, using the original uppercase and
lowercase. The H command is a synonym for the HISTORY command.

Example of Reviewing Command History

This example displays the number and text of each command in the history list for the
myfile file:

myfile> history
0 log logfile
1 file myfile
2 procs
3 info

Repeating a Command

Use the ! command to repeat a previously issued command:

!

repeats the most recently issued command.

HISTORY

![command-number]

[command-prefix]

Advertising
This manual is related to the following products: