Directory Operations; Displaying Directory Information; Displaying The Current Working Directory; Changing The Current Working Directory - HP 5120 series Configuration Manual

Gigabit ethernet switches
Table of Contents

Advertisement

Format
drive:/[path]/file-
name

Directory operations

You can create or remove a directory, display the current working directory, the specified directory, file
information, and so on.

Displaying directory information

To do...
Display directory or file
information

Displaying the current working directory

To do...
Display the current working
directory

Changing the current working directory

To do...
Change the current working
directory

Creating a directory

To do...
Create a directory
Description
Specifies a file in the specified
storage medium on the device.
drive represents the storage
medium name. The storage
medium on the master is usually
flash; the storage medium on a
slave is usually slotX#flash, where
X represents the member ID of the
slave, for example slot2#flash. To
view the correspondence between
a device and its member ID, use
the display irf command.
Use the command...
dir [ /all ] [ file-url ]
Use the command...
pwd
Use the command...
cd { directory | .. | / }
Use the command...
mkdir directory
Length
1 to 135
characters
100
Example
flash:/test/a.cfg indicates a file
named a.cfg in the test folder in the
root directory of the flash memory
on the master.
To read and write the a.cfg file in
the root directory of the flash on a
slave (with the member ID 2), input
slot2#flash:/a.cfg for the filename.
Remarks
Required
Available in user view
Remarks
Required
Available in user view
Remarks
Required
Available in user view
Remarks
Required
Available in user view

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents