Send documentation comments to mdsfeedback-doc@cisco.com
20-24
Cisco MDS 9000 Family Command Reference
OL-8413-07, Cisco MDS SAN-OS Release 3.x
Chapter 20 R Commands
rmdir
rmdir
To delete an existing directory from the Flash file system, use the rmdir command in EXEC mode.
rmdir [bootflash: | slot0: | volatile:]directory
Syntax Description
Defaults Uses the current default directory.
Command Modes EXEC Mode.
Command History
Usage Guidelines This command is only valid on Flash file systems.
The rmdir command deletes an existing directory at the current directory level or at a specified directory
level. The directory must be empty to be deleted.
Examples The following example deletes the directory called test in the slot0 directory.
switch# rmdir slot0:test
The following example deletes the directory called test at the current directory level. If the current
directory is slot0:mydir, this command deletes the slot0:mydir/test directory.
switch# rmdir test
Related Commands
bootflash: Source or destination location for internal bootflash memory.
slot0: Source or destination location for the CompactFlash memory or PCMCIA
card.
volatile: Source or destination location for volatile file system.
directory Name of the directory to remove.
Release Modification
1.0(2) This command was introduced.
Command Description
dir Displays a list of files on a file system.
mkir Creates a new directory in the Flash file system.