ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • 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
    Top of Page