User guide

File and Directory Management Managing System Files
page 2-8 OmniSwitch 7700/7800/8800 Switch Management Guide April 2006
Directory Commands
The directory commands are applied to the switch file system and to files contained within the file system.
When you first enter the flash directory, your login is located at the top of the directory tree. You may
navigate within this directory by using the pwd and cd commands (discussed below). The location of your
login within the directory structure is called your current directory. You need to observe your login
location because when you issue a command, that command applies only to directories and files in your
current directory unless another path is specified.
The following drawing is a logical representation of the file directory shown in the illustration on
page 2-5.
Sample Switch Directory Tree
Determining Your Location in the File Structure
Use the pwd command to display the path to your current directory. When you first log into the switch,
your current directory is the flash directory. If you enter the pwd command, the following will display.
-> pwd
/flash
->
The display shows the name of the current directory and its path. If your current directory is the certified
directory and you enter the pwd command, the following will display.
-> pwd
/flash/certified
->
The display shows the path to your current directory.
Flash Directory
Certified Directory
Working Directory (Files)
config.txt
Fsecu.img
Fos.img
F12eth.img
release.img
boot.cfg
(Files)
(Files)
Fweb.imb
Fsecu.img
F12eth.img
Fbase.img
Fos.img
swlog2.log
swlog1.log
boot.params
Network Directory
policy.cfg
(File)