D-Link xStack DGS-3620 Reference Manual page 510

Hide thumbs Also See for xStack DGS-3620:
Table of Contents

Advertisement

xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
38-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
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) Specifies 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-3620-28PC:admin#dir
Command: dir
Directory of c:/
Idx Info
Attr Size
--- ------- ---- -------- -------------------- ----
1 RUN(*)
-rw- 4796564
2 CFG(*)
-rw- 24120
3 CFG(b)
-rw- 24120
4
d---
30608 KB total (25700 KB free)
(*) –with boot up info
DGS-3620-28PC:admin#
To list a system directory:
DGS-3620-28PC:admin#dir c:/system
Command: dir c:/system
System reserved directory. Used space 89KB.
Update Time
2000/01/22 03:52:03
2000/01/22 23:22:58
2000/01/23 06:59:39
2000/01/23 22:52:50
(b) –with backup info
505
Name
runtime.had
config.cfg
1
system

Advertisement

Table of Contents
loading

Table of Contents