clear cli history
S e n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
clear cli history
To clear the command history, use the clear cli history command.
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
EXEC mode
Command History
Release
4.0(0)N1(1a)
Usage Guidelines
Use the show cli history command to display the history of the commands that you entered at the
command-line interface (CLI).
Examples
This example shows how to clear the command history:
switch# clear cli history
Related Commands
Command
show cli history
Cisco Nexus 5000 Series Command Reference
1-6
clear cli history
Modification
This command was introduced.
Description
Displays the command history.
Chapter 1
Basic System Commands
OL-16599-01