erase

This command deletes a file from the device's memory.

Syntax

# erase <File Name>

Note

View files using the dir command.
To make sure the file type is correctly entered, copy it from the dir command output.
The erase command only deletes the file from the device's RAM (and from the device’s current usage). To delete the file permanently (from flash memory), run the dir command, and then run the write command.

Command Mode

Privileged User

Related Commands

copy
dir
write

Example

Viewing files:
# dirdirectory listing:
/cert/1/pkey    2488 Bytes
/cert/1/cert    1318 Bytes
debug-file [core_MP500_E-SBC_ver_760A-92-882_bid_5b1035-89_SIP_TPApp-WEBS_18-3-2                                  025_11-25-25.lzma]      5380710 Bytes   Storage Type: internal-flash
Erasing the CPT file from flash memory:
# erase debug-file 
# write