Q-Logic 5600 manual History Command, Following is an example of the History command

Models: 5600

1 336
Download 336 pages 25.61 Kb
Page 216
Image 216

A – Command Line Interface History Command

S

History Command

Displays a numbered list of the previously entered commands from which you can re-execute selected commands.

Authority

None

 

 

 

 

Syntax

history

 

 

 

 

Notes

Use the History command to provide context for the ! command:

 

„ Enter ![command_string] to re-execute the most recent command that

 

matches [command_string].

 

 

 

„ Enter ![line number] to re-execute the corresponding command from the

 

History display

 

 

 

 

„ Enter ![partial command string] to re-execute a command that matches the

 

command string.

 

 

 

 

„ Enter !! to re-execute the most recent command.

 

Examples

The following is an example of the History command:

 

 

SANbox xxxx #> history

 

 

 

 

1 show switch

 

 

 

 

2 date

 

 

 

 

 

3 help set

 

 

 

 

 

4 history

 

 

 

 

 

SANbox xxxx #> !3

 

 

 

 

help set

 

 

 

 

 

set SET_OPTIONS

 

 

 

 

 

There are many attributes that can be set.

 

 

Type help with

one of the following to get more information:

 

 

Usage: set

{ alarm

beacon

config log

pagebreak

 

 

port

setup

switch }

 

A-36

59097-02 B

Page 216
Image 216
Q-Logic 5600 manual History Command, Following is an example of the History command