Users Guide

Switch Management Commands 1926
User Guidelines
The file name may optionally include the path to the file, e.g., delete
crashlogs/crash.0.
Example
console#delete file1.scr
Delete file1.scr (Y/N)?y
dir
Use the dir command to print the contents of the flash file system or of a
subdirectory.
Syntax
dir [subdir]
Default Configuration
This command has no default configuration.
Command Mode
Privileged Exec mode
User Guidelines
This command has no user guidelines.
Example
console#dir
Attr Size(bytes) Creation Time Name
drwx 2640 Feb 02 2022 00:26:43 .
drwx 0 Feb 19 2014 15:22:53 ..
-rw- 96 Jan 28 2022 23:05:45 snmpOprData.cfg
-rw- 156 Jan 01 1970 00:03:14 dh512.pem
-rw- 14363703 Jan 22 2022 03:36:08 image1
-rw- 18335232 Dec 31 2021 01:03:06 image2
-rw- 64 Oct 03 2029 01:46:00 logNvmSave.bin
-rw- 37549 Jan 01 1970 00:03:02 xacl1.scr
-rw- 245 Jan 01 1970 00:03:14 dh1024.pem
drwx 160 Dec 30 2021 03:24:26 user-apps