17
History command
Displays a numbered list of the previously entered commands from which you can re-execute selected
commands.
Authority
User
Syntax
history
Notes
Use the History command to provide context for the ! command.
• Enter ![command] to re-enter the most recent execution of that command.
• 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.
FCSM: user1> history
1 show switch
2 date
3 help set
4 history
FCSM: user1> !2
date
Thu Sep 26 11:03:07 2002