User guide
Managing System Files File and Directory Management
OmniSwitch AOS Release 8 Switch Management Guide May 2014 page 2-7
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 OmniSwitch file directory shown in the illustra-
tion 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 be
displayed:
-> 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 be displayed:
-> pwd
/flash/certified
->
The display shows the path to your current directory.
Flash Directory
Certified Directory
Working Directory
(Files)
Uos.img
vcsetup.cfg
(Files)
(Files)
Uos.img
vcsetup.cfg
vcboot.cfg
Network Directory
policy.cfg
(File)
swlog.0
swlog.1
vcboot.cfg