delete
To delete one or more files from the specified file system, use the delete command in boot loader mode.
delete filesystem:/file-url...
Syntax Description
filesystem:
/file-url...
Command Default
No default behavior or values.
Command Modes
Boot loader
Command History
Release
Cisco IOS XE 3.3SECisco IOS XE 3.3SE
Usage Guidelines
Filenames and directory names are case sensitive.
The device prompts you for confirmation before deleting each file.
Examples
This example shows how to delete two files:
Device: delete usbflash0:test2.text usbflash0:test5.text
Are you sure you want to delete "usbflash0:test2.text" (y/n)?y
File "usbflash0:test2.text" deleted
Are you sure you want to delete "usbflash0:test5.text" (y/n)?y
File "usbflash0:test2.text" deleted
You can verify that the files were deleted by entering the dir usbflash0: boot loader command.
Alias for a file system. Use usbflash0: for USB memory sticks.
Path (directory) and filename to delete. Separate each filename with a space.
Modification
This command was introduced.
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
delete
915