HP 3000 Manuals

REDO [ Volume Management ] MPE/iX 5.0 Documentation


Volume Management

REDO 

The REDO command allows you to edit a command from the command history
stack and then reexecute the command.

Task 

Allows for editing and reexecution of a command from the command history
stack.

Capability 

No special capability required.

Syntax 

     REDO [[CMD=]cmdid]

Parameters 

cmdid                 Identifies a particular command in the command
                      history stack.  It can be one of the following:

                         *   A relative command number (executes the nth
                             number in the stack, starting with the most
                             recent).

                         *   An absolute number (executes number n in the
                             stack).

                         *   A string (executes the most recent command
                             starting with string).

                         *   Omitted (executes last command).

                      Optional. 

Example 

The example on the following page shows how to reexecute a command from
the command history stack.

   1.  List the commands in the command history stack using the LISTREDO
       command.

   2.  Reexecute command 30.
_______________________________________
|                                     |
|                                     |
|      discutil> LISTREDO             |
|          24) LIST REDO              |
|          25) LISTREDO               |
|          26) REDO 24                |
|          27) LIST REDO              |
|          28) LISTREDO               |
|          29) LIST REDO              |
|          30) HELP                   |
|          31) HELP RECOVER           |
|          32) HELP LISTREDO          |
|          33) LISTREDO               |
|                                     |
|      discutil> REDO 30              |
|                                     |
|                                     |
_______________________________________

            



MPE/iX 5.0 Documentation