
Managing System Files
File and Directory Management
OmniSwitch 6800/6850/9000 Switch Management Guide
December 2007
page 1-9
Changing Directories
Use the
cd
command to navigate within the file directory structure. The
cd
command allows you to move
“up” or “down” the directory tree. To go down, you must specify a directory located in your current direc-
tory. The following command example presumes your current directory is the /
flash
file directory as
shown in the directory on
page 1-8
and that you want to move down the directory tree to the certified
directory.
->pwd
/flash
->cd certified
->
To verify that your current directory has changed to /
flash
/
certified
, use the
pwd
command and the
following will be displayed:
->pwd
/flash/certified
To move “up” the directory tree, use the
cd
command. Enter
cd..
(
cd
dot dot) without specifying a direc-
tory name and your current directory will move up one directory level. If you enter
cd
without the dots,
your current directory will move to the top of the tree. The following example shows the
cd
command
used where the current directory is /
flash
/
certified
.
->pwd
/flash/certified
-> cd
->
To verify that your current directory has moved up the directory tree, use the
pwd
command to display
your location. The display shows you have moved up one level from the /
flash
/
certified
directory and that
your current directory is /
flash
.
-> pwd
/flash
If you use the
cd
command while you are at the top of the directory tree, the
cd
command will have no
effect on the location of your login. In other words, if you use
cd
while your current directory is /
flash
,
your current directory will remain /
flash
after you execute the
cd
command.