beautypg.com

Using your fup command history, History command, Fc command – HP NonStop G-Series User Manual

Page 121: Command

background image

Using FUP for Basic File Management

Guardian User’s Guide 425266-001

7- 21

Using Your FUP Command History

Using Your FUP Command History

FUP keeps a record of the commands you enter. The HISTORY command allows you to
display your previous FUP commands. The FC command lets you change or correct any
command in your FUP command history. These commands work similarly to the TACL
commands of the same syntax described under

Using Your Command History

on

page 2-15.

HISTORY Command

You can specify the number of previous FUP commands to display by entering a
number after the command. If you do not enter a number, FUP displays the last ten
commands. To display your last four FUP commands, enter:

FC Command

FC allows you to recall a command and then change it by deleting, inserting, or
replacing characters. It can save you keystrokes. For example, to use the STATISTICS
option of the INFO command and you have already used the DETAIL option, enter:

! Command

The ! command allows you to reexecute a specific FUP command. For example, to
reexecute the last INFO command, enter:

? Command

The ? command allows you to display (but not execute) a specific FUP command. For
example, to display the last command that referenced the system \WEST, enter:

- HISTORY 4

6: INFO MYFILE, DETAIL
7: CREATE NEWFILE
8: DUP OLDFILE, NEWFILE
9: HISTORY 4

-FC 6
-INFO MYFILE, DETAIL
. DDSTAT
-INFO MYFILE, STAT
.

-! INFO

-? \WEST

This manual is related to the following products: