mac
513
Example: To list the files and their size in the flash.
Switch#show flash
boot.rom 329, 828 1900-01-01 00:00:00 --SH
boot.conf 94 1900-01-01 00:00:00 --SH
nos.img 2, 449, 496 1980-01-01 00:01:06 ----
startup-config 2, 064 1980-01-01 00:30:12 ----
46.12 show history
Command: show history
Function: Display the recent user command history.
Command mode: Admin Mode
Usage Guide: The system holds up to 20 commands the user entered, the user can use
the UP/DOWN key or their equivalent (ctrl+p and ctrl+n) to access the command history.
Example:
Switch#show history
enable
config
interface ethernet 1/3
enable
dir
show ftp
46.13 show history all-users
Command: show history all-users [detail]
Function: Show the recent command history of all users.
Parameter: [detail] shows user name of the executing command. IP address of the user
will be shown when logging in the executing command through Telnet or SSH.
Command Mode: Admin and configuration mode
Usage Guide: This command is used to show the recent command history of all users,
including time, logging type, executing command, etc.
Notice: The user can only check the command history of other users whose purview
should not be higher than oneself.
Example:
Switch(config)#show history all-users detail










