S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
5-6
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco NX-OS Release 4.x
Chapter 5 D Commands
delete
switch#
delete dns_config.cfg
The following example deletes a file from an external CompactFlash (slot0):
switch#
delete slot0:dns_config.cfg
The following example deletes the entire my-dir
directory and all its contents:
switch#
delete bootflash:my-dir
The following example deletes the entire user created dk log file on the active supervisor:
switch#
delete log://sup-active/
log://sup-active/dk log://sup-active/dmesg log://sup-active/messages
switch#
delete log://sup-active/dk
switch#
dir log:
31 Feb 04 18:22:03 2005 dmesg
14223 Feb 04 18:25:30 2005 messages
Usage for log://sup-local
35393536 bytes used
174321664 bytes free
209715200 bytes total
switch#
Related Commands
Command
Description
cd
Changes the default directory or file system.
dir
Displays a list of files on a file system.
show boot
Displays the contents of the BOOT environment variable, the name of the
configuration file pointed to by the CONFIG_FILE environment variable, the
contents of the BOOTLDR environment variable, and the configuration
register setting.