Cli Control And Editing; Executing A Prior Command—Redo; Repeating Execution Of A Command - HP PROCURVE 6120 Management And Configuration Manual

Procurve series 6120 switches
Table of Contents

Advertisement

Using the Command Line Interface (CLI)

CLI Control and Editing

4-16
CLI Control and Editing
Executing a Prior Command—Redo
The redo command executes a prior 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
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
---------------
15.255.128.1
Figure 4-10. Example of the redo Command

Repeating Execution of a Command

The repeat command executes a previous command in the history list.
Executes the show arp command again.
MAC Address
----------------- ------- ----
00000c-07ac00
th
command starting from
Type
Port
dynamic A11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Procurve 6120g/xgProcurve 6120xg

Table of Contents