HPlogo Volume Management: HP 3000 MPE/iX Computer Systems > Chapter 5 Volume Management Commands

REDO

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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


Feedback to webmaster