beautypg.com

Delete, Te, dir, rename, Ete, dir, rename, sho – Brocade Network OS Command Reference v4.1.0 User Manual

Page 246

background image

208

Network OS Command Reference

53-1003115-01

delete

2

delete

Deletes a file from the flash memory.

Synopsis

delete file

Operands

file

The name of the file to be deleted.

Defaults

None

Command Modes

Privileged EXEC mode

Description

Use this command to delete a user-generated file from the switch. This operation is final; there is
no mechanism to restore the file.

Usage Guidelines

This command is supported only on the local switch.

System configuration files cannot be deleted. If you try to delete a system configuration file, an
appropriate message is displayed.

Examples

To delete a user-generated copy of a configuration file:

switch# dir

total 24

drwxr-xr-x

2 root

sys

4096 Feb 13 00:39 .

drwxr-xr-x

3 root

root

4096 Jan

1

1970 ..

-rwxr-xr-x

1 root

sys

417 Oct 12

2010 myconfig

-rwxr-xr-x

1 root

sys

417 Oct 12

2010 defaultconfig.novcs

-rwxr-xr-x

1 root

sys

697 Oct 12

2010 defaultconfig.vcs

-rw-r--r--

1 root

root

6800 Feb 13 00:37 startup-config

switch# delete myconfig

% Warning: File will be deleted (from flash:)!

Continue?(y/n): y

See Also

copy, dir, rename, show file