Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
1-76
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 1 Basic System Commands
show cli history
show cli history
To display the command history, use the show cli history command.
show cli history [lines] [unformatted]
Syntax Description
Command Default Displays the entire formatted history.
Command Modes EXEC mode
Command History
Examples This example shows how to display all of the command history:
switch# show cli history
This example shows how to display the last 10 lines of the command history:
switch# show cli history 10
This example shows how to display unformatted command history:
switch# show cli history unformatted
Related Commands
lines (Optional) Displays the last number of lines from the end of the command
history.
unformatted (Optional) Displays the commands without line numbers or time stamps.
Release Modification
4.0(0)N1(1a) This command was introduced.
Command Description
clear cli history Clears the command history.