hit counter script

Delete - Cisco Catalyst 2950 Command Reference Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands

delete

Use the delete privileged EXEC command to delete a file or directory on the flash memory device.
Syntax Description
/force
/recursive
filesystem:
/file-url
Command Modes
Privileged EXEC
Command History
Release
12.0(5.2)WC(1)
12.1(6)EA2
Usage Guidelines
If you use the /force keyword, you are prompted once at the beginning of the deletion process to confirm
the deletion.
If you use the /recursive keyword without the /force keyword, you are prompted to confirm the deletion
of every file.
The prompting behavior depends on the setting of the file prompt global configuration command. By
default, the switch prompts for confirmation on destructive file operations. For more information about
this command, see the Cisco IOS Command Reference for Cisco IOS Release 12.1.
Examples
This example shows how to delete a file from the switch flash memory:
Switch# delete flash:filename
You can verify that the directory was removed by entering the dir filesystem: privileged EXEC
command.
Related Commands
Command
copy
dir filesystem:
rename
OL-10102-01
delete [/force] [/recursive] filesystem:/file-url
(Optional) Suppress the prompt that confirms the deletion.
(Optional) Delete the named directory and all subdirectories and the files
contained in it.
Alias for a flash file system. Use flash: for the system board flash device.
The path (directory) and filename to delete.
Modification
This command was introduced.
The /force and /recursive keywords were added.
Description
Downloads a file from a source, such as a TFTP server, to a destination, such
as the flash memory.
Displays a list of files on a file system.
Renames a file.
Catalyst 2950 and Catalyst 2955 Switch Command Reference
delete
2-81

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents