Alcatel Carrier Internetworking Solutions omniswitch Switch User Manual


 
Managing System Files File and Directory Management
OmniSwitch 6600 Family Switch Management Guide March 2005 page 2-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 2-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 display.
->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.