ECS4100 Series CLI Reference Guide-R07

Table Of Contents
Chapter 4
| System Management Commands
File Management
– 137 –
Example
This example shows how to delete the test2.cfg configuration file from flash
memory.
Console#delete file name test2.cfg
Console#
Related Commands
dir (137)
delete public-key (267)
dir This command displays a list of files in flash memory.
Syntax
dir {config | opcode}: [filename]}
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:
Table 20: File Directory Information
Column Heading Description
File Name The name of the file.
File Type File types: Operation Code, and Config file.
Startup Shows if this file is used when the system is started.
Modify Time The date and time the file was last modified.
Size The length of the file in bytes.