Displaying a directory of the files – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual
Page 97
![background image](/manuals/361635/97/background.png)
Multi-Service IronWare Switching Configuration Guide
67
53-1003036-02
Verifying available flash space on the management module before an image is copied
3
Brocade# cd /slot2
Device not present
Syntax: cd directory-pathname
Syntax: chdir directory-pathname
For the directory-pathname parameter for both cd and chdir commands, specify /slot1 or /slot2 to
switch the focus to slot 1 or slot 2, respectively. Specify /flash to switch the focus to flash memory.
After you have switched the focus to slot 2, you can specify the directory-pathname parameter to
switch the focus to a subdirectory on a flash card inserted in slot 2. For example, to switch the
focus from the root directory level ( / ) of slot 2 to the subdirectory named “PLOOK,” enter the
following command.
Brocade# cd /PLOOK
If you specify an invalid subdirectory path, the CLI displays a message such as the following.
Brocade# cd /PLOOK
Path not found
If you are certain the path you specified exists, make sure you are at the correct level to reach the
path. For example, if you are already at the PLOOK level, the CLI cannot find the subdirectory
“/PLOOK” because it is not a subdirectory from the level that currently has the management focus.
To change the management focus back to flash memory, enter the following command.
Brocade# cd /flash
Brocade#
Displaying a directory of the files
You can display a directory of the files in the flash memory on the management module, or on a
flash card inserted in management module slot 1 or slot 2 using the dir or ls commands.
The software displays the directory of the file system that has the current management focus. By
default, flash memory has the management focus. However, you do not need to change the focus
to list the files on the file system that does not currently have management focus. In this case, you
can specify the /path-name/ parameter with the dir or ls commands to display the directory of the
desired file system.