Skip to main content

history

Show the history of commands for this CLI session

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

Description

The history command displays the command history of the current CLI session. A numeric ID precedes each command. Use this number with the redo command to re-execute that history item.

Examples

The following example displays the command history of the current CLI session:

cluster1:: history
1 vserver show
2 man volume show
3 volume delete -vserver vs0 -volume temporary2
4 volume modify [ -volume temp* ] -state offline
cluster1:: redo 3