D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
336
Current work directory: “c:/d1”
DGS-3420-28SC:admin#
32-5 dir
Description
This command is used to list all of the files located in a directory of a drive. If a path name is not
specified, then all of the files in the specified drive will be displayed. If none of the parameters are
specified, the files in the current directory will be displayed. If a user lists the system directory, the
used space will be shown.
Format
dir {{unit <unit_id>} <drive_id>} {<pathname>}
Parameters
unit - Specifies the unit ID in the stacking system. If not specified, it refers to the master unit.
<unit_id> - Enter the unit ID value here.
<drive_id> - Specifies the drive ID. If not specified, it refers to the current drive.
<pathname> - (Optional) Specify the directory to be listed. The path name can be specified
either as a full path name or partial name. For a partial path name, it indicates the file is in the
current directory. The drive ID also included in this parameter, for example:
d:/config/bootup.cfg.
Restrictions
None.
Example
To list a directory:
DGS-3420-28SC:admin#dir
Command: dir
Directory of c:/
Idx Info Attr Size Update Time Name
--- ------- ---- -------- -------------------- ----
1 RUN(*) -rw- 4796564 2000/01/22 03:52:03 runtime.had
2 CFG(*) -rw- 24120 2000/01/22 23:22:58 config.cfg
3 CFG(b) -rw- 24120 2000/01/23 06:59:39 1
4 d--- 2000/01/23 22:52:50 system
30608 KB total (25700 KB free)
(*) –with boot up info (b) –with backup info
DGS-3420-28SC:admin#
To list a system directory: