![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/6/b4/6b454aab-bf77-4b4c-90f9-1211b447a28f/6b454aab-bf77-4b4c-90f9-1211b447a28f-bg4f.png)
4-16
Using the Command Line Interface (CLI)
CLI Control and Editing
CLI Control and Editing
Executing a Prior Command—Redo
The redo command executes a prior command in the history list.
Figure 4-10. Example of the redo Command
Repeating Execution of a Command
The repeat command executes a previous command in the history list.
Syntax: redo [number | command-str]
Re-executes a command from history. Executes the last
command by default.
number: The position of the command to execute in the history
list. When number is specified, the n
th
command starting from
the most recent command in the history is executed.
command-str: When command-str is specified, the most recent
command whose name matches the specified string is
executed.
ProCurve(config)# show history
2 show arp
1 show flash
ProCurve(config)# redo 2
IP ARP table
IP Address MAC Address Type Port
--------------- ----------------- ------- ----
15.255.128.1 00000c-07ac00 dynamic A11
Executes the show arp command again.