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

DO

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The DO command reexecutes a command from the command history stack. Refer to the LISTREDO and REDO commands in this chapter.

Task

Reexecutes a command from the command history stack.

Capability

No special capability required.

Syntax



   DO [[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

This example shows how to reexecute a command from the command history stack using the LISTREDO command.

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

  2. e excute 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> DO 30
    
    
    
Feedback to webmaster