Changing Or Correcting A Previous Command - HP Guardian User Manual

Hide thumbs Also See for Guardian:
Table of Contents

Advertisement

Getting Started With TACL

Changing or Correcting a Previous Command

The FC command allows you to change or correct any command in your command
history. To recall a command line:
To recall the command on the previous line, enter only FC:
21> FC
21> USERS *
21..
To recall a command on a specific line, enter FC and the line number:
22> FC 13
22> USERS 6,*
22..
To recall a previous command, enter FC and negative number to indicate the
position of the command in the command history:
23> FC -9
23> USERS PAYROLL.*
23..
To recall a command that begins with a specific text string, enter FC and the string:
24> FC USE
24> USERS *
24..
After you select the command, make your changes. The command editing prompt (..)
appears below the line that you recalled. On the prompt line, use the space bar and the
backspace key to position the cursor under the text that you want to change. Do not use
the arrow keys to move the cursor.
Using the Editing Characters D, I, and R
The FC command accepts three command-editing characters:
D (or d)
Deletes the character above the D
I (or i)
Inserts the text following the I into the command line (that is, text is inserted
in front of the character above the I)
R (or r)
Replaces characters in the command line beginning with the character above
the R with the text following the R
You must begin your correction with these editing characters if the first character of the
change is I, D, or R. Type the D or R under the character to be deleted or replaced. Type
the I under the character that follows the insert position.
After you make changes to the command, press Return. The TACL program then shows
you the modified command and prompts you for more changes. You can add more
changes at this point, or if the command is correct, press Return again, and the TACL
program executes the command.
Guardian User's Guide —425266-001
2- 17
Changing or Correcting a Previous Command

Advertisement

Table of Contents
loading

Table of Contents