Backup and Restore 2 Manual
Backup and Restore 2 Manual—522696-019
5-1
5 BRCOM Commands
This section describes the BRCOM commands.
Command
Use the ! command to execute a command you entered previously during the current
session. You can request the command by line number, relative line number, or text
string. Terminating this command with a semicolon is optional.
!
entered with no line number or text string, displays and executes the last command
line in the command history buffer.
linenum
is a positive integer that specifies the number of the command line in the history
buffer that you want to retrieve and execute. Use the HISTORY command to show
the line numbers.
-linenum
is a negative integer that specifies the number of the command line to be retrieved
and executed relative to the current line number.
string
is a text string. The ! command displays and executes the most recent command in
the history buffer that begins with the specified text string. Searching for previous
commands is case-sensitive.
"string"
is a text string enclosed in quotation marks. The ! command displays and executes
the most recent command in the history buffer that contains the specified text
string. The command does not need to begin with the specified string. Searching
for previous commands is case-sensitive.
Guideline
Do not use the ! command in a command file or IN file.
! [ linenum ]
[ -linenum ]
[ string ]
[ "string" ] [;]