redo

Execute a previous command

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The redo command re-executes a command that has been executed previously in the current CLI session. Specify a previously run command using:

Parameters

[<text>] - String, Event Number, or Negative Offset
Use this parameter to specify a string, a numeric ID from the command history, or a negative number that identifies the command to be re-executed.

Examples

The following example re-executes command number 10 in the command history:
cluster1::> redo 10