show cli history
Syntax
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Command introduced in Junos OS Release 11.1 for the QFX Series.
Description
Display a list of previous CLI commands.
Options
none | — | Display all previous CLI commands. |
count | — | (Optional) Maximum number of commands to display. |
Required Privilege Level
view
List of Sample Output
show cli historyOutput Fields
Table 1 lists the output fields for the show cli history command. Output fields are listed in the approximate order in which they appear.
Table 1: show cli history Output Fields
Field Name | Field Description |
---|---|
timestamp | Time at which the command was entered. |
command-syntax | Command that was entered. |
Sample Output
show cli history
user@host> show cli history
11:14:14 -- show arp 11:22:10 -- show cli authorization 11:27:12 -- show cli history