Send documentation comments to mdsfeedback-doc@cisco.com
4-5
Cisco MDS 9000 Family Command Reference
OL-8413-07, Cisco MDS SAN-OS Release 3.x
Chapter 4 C Commands
cd
cd
To change the default directory or file system, use the cd command.
cd {directory | bootflash:[directory] | slot0:[directory] | volatile:[directory]}
Syntax Description
Defaults The initial default file system is flash:. For platforms that do not have a physical device named flash:,
the keyword flash: is aliased to the default Flash device.
If you do not specify a directory on a file system, the default is the root directory on that file system.
Command Modes EXEC mode
Command History
Usage Guidelines For all EXEC commands that have an optional file system argument, the system uses the file system
specified by the cd command when you omit the optional file system argument. For example, the dir
command, which displays a list of files on a file system, contains an optional file system argument. When
you omit this argument, the system lists the files on the file system specified by the cd command.
Examples The following example sets the default file system to the Flash memory card inserted in slot 0:
switch# pwd
bootflash:/
switch# cd slot0:
switch# pwd
slot0:/
Related Commands
directory Name of the directory on the file system.
bootflash: URI or alias of the bootflash or file system.
slot0: URI or alias of the slot0 file system.
volatile: URI or alias of the volatile file system.
Release Modification
1.0(2) This command was introduced.
Command Description
copy Copies any file from a source to a destination.
delete Deletes a file on a Flash memory device.
dir Displays a list of files on a file system.
pwd Displays the current setting of the cd command.
show file systems Lists available file systems and their alias prefix names.
undelete Recovers a file marked deleted on a Class A or Class B Flash file system.