CLI Reference Guide-R05

Table Of Contents
Chapter 4
| System Management Commands
File Management
– 119 –
dir This command displays a list of files in flash memory.
Syntax
dir {boot-rom: | config: | opcode:} [filename]}
boot-rom
- Boot ROM (or diagnostic) image file.
config - Switch configuration file.
opcode - Run-time operation code image file.
filename - Name of configuration file or code image. If this file
exists but contains errors, information on this file cannot be shown.
Default Setting
None
Command Mode
Privileged Exec
Command Usage
If you enter the command dir without any parameters, the system displays all
files.
File information is shown below:
Example
The following example shows how to display all file information:
Console#dir
File Name Type Startup Modify Time Size(bytes)
-------------------------- -------------- ------- ------------------- ----------
Unit 1:
ecs4810_12m_1.1.2.2.bix OpCode N 2013-10-07 11:09:12 12933584
ecs4810_12m_v1.1.4.10.bix OpCode Y 2012-10-19 08:12:39 12982728
Factory_Default_Config.cfg Config N 2012-02-02 06:05:21 455
startup1.cfg Config Y 2013-10-04 09:46:01 1165
-----------------------------------------------------------------------------
Free space for compressed user config files: 626688
Console#
Table 15: File Directory Information
Column Heading Description
File Name The name of the file.
File Type File types: Boot-Rom, Operation Code, and Config file.
Startup Shows if this file is used when the system is started.
Create Time The date and time the file was created.
Size The length of the file in bytes.