Managing System Files
File and Directory Management
OmniSwitch 6600 Family Switch Management Guide
April 2006
page 2-9
Changing Directories
Use the
command to navigate within the file directory structure. The
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 that your current directory is the /flash file directory as
shown in the directory on
, 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
command and the
following will display:
->pwd
/flash/certified
To move “up” the directory tree, use the
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
without the dots,
your current directory will move to the top of the tree. The following example shows the
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
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
command while you are at the top of the directory tree, the
command will have no
effect on the location of your login. In other words, if you use
while your current directory is /flash,
your current directory will remain /flash after you execute the
command.