xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
502
Current work directory: “c:/d1”
DGS-3620-28SC:admin#
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 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-3620-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-3620-28SC:admin#
To list a system directory:
Содержание xStack
Страница 1: ......
Страница 161: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 156 DGS 3620 28SC admin ...
Страница 503: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 498 DGS 3620 28SC admin ...
Страница 553: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 548 ...
Страница 565: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 560 ...
Страница 888: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 883 DGS 3620 28SC admin ...
Страница 1011: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 1006 ...
Страница 1120: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 1115 ...