Deletes a flash or USB file.
Exec mode
This command is available only to users with the admin role.
Valid input file path must be provided.
The active PCAP file cannot be deleted.
The following examples show how to delete configuration files.
device# delete flash://config-file test.txt Warning: File flash://config-file/test.txt will be deleted (from flash). Do you want to continue? [y/n]: device# delete usb://test Warning: File usb://test will be deleted (from usb). Do you want to continue? [y/n]:
The following example deletes a PCAP file.
device# delete flash://pcap-file/test.pcap
The following example deletes a
system-created
file.device# delete flash://config-file/
Warning: File flash://config-file/ will be deleted (from flash).
Do you want to continue? [y/n]: y