Setting The Current Directory; Displaying The Current Directory - Cisco MDS 9124 - Fabric Switch Reference

Cisco mds 9000 family command reference - cisco mds san-os release 3.0(1) through 3.3(1a) (ol-16217-01, april 2008)
Hide thumbs Also See for Cisco MDS 9124 - Fabric Switch:
Table of Contents

Advertisement

Chapter 1
CLI Overview
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

Setting the Current Directory

The cd command changes the current directory level to a specified directory level. CLI defaults to the
volatile: files system. This command expects a directory name input.
Any file saved in the volatile: file system will be erased when the switch reboots.
Tip
The syntax for this command is cd directory name
This example changes the current directory to the mystorage directory that resides in the slot0 directory:
switch# cd slot0:mystorage
This example changes the current directory to the mystorage directory that is in the current directory.
switch# cd mystorage
If the current directory is slot0:mydir, this command changes the current directory to
slot0:mydir/mystorage.

Displaying the Current Directory

The pwd command displays the current directory location. This example changes the directory and
displays the current directory.
switch# cd bootflash:
switch# pwd
bootflash:
OL-16217-01, Cisco MDS SAN-OS Release 3.x
Setting the Current Directory, page 1-33
Displaying the Current Directory, page 1-33
Listing the Files in a Directory, page 1-34
Creating a New Directory, page 1-34
Deleting an Existing Directory, page 1-34
Moving Files, page 1-34
Copying Files, page 1-35
Deleting Files, page 1-35
Displaying File Contents, page 1-35
Saving Command Output to a File, page 1-36
Compressing and Uncompressing Files, page 1-36
Displaying the Last Line in a File, page 1-37
Executing Commands Specified in a Script, page 1-37
Setting the Delay Time, page 1-38
Cisco MDS 9000 Family Command Reference
Using the File System
1-33

Advertisement

Table of Contents
loading

Table of Contents