File management – Cisco Flash
When working on Cisco devices, sometimes you have to delete files from the device. It’s moreless the same on all Cisco devices. While there are other file systems available to you on your device (see first command listed), Cisco devices use “flash:” as their default file system. My examples will also use the default “flash:” but note that the commands will work the same on any other available file system, such as “usb0:“.
Show Available File SystemsDevice# show file systems
Show FilesDevice# dir flash:
Create DirectoryDevice# mkdir folder
Step into DirectoryDevice# cd folder
Delete FileDevice# delete /force flash:/filename
Device# delete flash:/filename
Delete DirectoryDevice# delete /force /recursive flash:/folder
Copy FileDevice# copy usb0:[/directory]/filename flash0:[/directory]/filename