![Cisco Catalyst 2350 Command Reference Manual Download Page 518](http://html.mh-extra.com/html/cisco/catalyst-2350/catalyst-2350_command-reference-manual_67583518.webp)
A-8
Catalyst 2350 Switch Command Reference
OL-19055-01
Appendix A Catalyst 2350 Switch Boot Loader Commands
dir
dir
Use the
dir
boot loader command to display a list of files and directories on the specified file system.
dir
filesystem
:/
file-url ...
Syntax Description
Command Modes
Boot loader
Command History
Usage Guidelines
Directory names are case sensitive.
Examples
This example shows how to display the files in flash memory:
switch: dir flash:
Directory of flash:/
3 -rwx 1839 Feb 01 2002 00:48:15 config.text
11 -rwx 1140 Feb 01 2002 04:18:48 vlan.dat
21 -rwx 26 Feb 01 2002 00:01:39 env_vars
9 drwx 768 Feb 01 2002 23:11:42 html
16 -rwx 1037 Feb 01 2002 00:01:11 config.text
14 -rwx 1099 Feb 01 2002 01:14:05 homepage.htm
22 -rwx 96 Feb 01 2002 00:01:39 system_env_vars
17 drwx 192 Feb 06 2002 23:22:03 c2350-lanlite-mz.122-46.EY
15998976 bytes total (6397440 bytes free)
Table A-1
describes the fields in the display.
filesystem
:
Alias for a flash file system. Use
flash:
for the system board flash device.
/
file-url
(Optional) Path (directory) and directory name whose contents you want to
display. Separate each directory name with a space.
Release
Modification
12.2(46)EY
This command was introduced.
Table A-1
dir Field Descriptions
Field
Description
2
Index number of the file.
-rwx
File permission, which can be any or all of the following:
•
d—directory
•
r—readable
•
w—writable
•
x—executable
1644045
Size of the file.