Reference v4.1.0 Instruction Manual

230 Network OS Command Reference
53-1003115-01
dir
2
dir
Lists the contents of the switch flash memory.
Synopsis dir
Operands None
Defaults None
Command Modes Privileged EXEC mode
Description Use this command to list the files in the flash memory.
Usage Guidelines This command is supported only on the local switch.
Examples To list the contents of the flash memory:
switch# dir
total 24
drwxr-xr-x 2 root sys 4096 Feb 13 00:39 .
drwxr-xr-x 3 root root 4096 Jan 1 1970 ..
-rwxr-xr-x 1 root sys 417 Oct 12 2010 myconfig.vcs
-rwxr-xr-x 1 root sys 417 Oct 12 2010 defaultconfig.novcs
-rwxr-xr-x 1 root sys 697 Oct 12 2010 defaultconfig.vcs
-rw-r--r-- 1 root root 6800 Feb 13 00:37 startup-config
See Also copy, delete, show file, rename