xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
412
DGS-3120-24TC:admin# rd c:/abc
Command: rd c:/abc
Success.
DGS-3120-24TC:admin#
38-5
cd
Description
This command is used to change the current directory. The current directory is changed under the
current drive. If you want to change the working directory to the directory in another drive, then you
need to change the current drive to the desired drive, and then change the current directory. The
current drive and current directory will be displayed if the <pathname> is not specified.
Format
cd {<pathname>}
Parameters
<pathname>
- (Optional) Specify the directory to be removed. The path name can be specified
either as a full path name or partial name. For partial path name, it indicates the file is in the
current directory.
Restrictions
None.
Example
To change to other directory or display current directory path:
DGS-3120-24TC:admin# cd
Command: cd
Current work directory: "/unit2:/c:".
DGS-3120-24TC:admin#
38-6
dir
Description
This command is used to list all the files located in a directory of a drive.
If pathname 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 drive will be displayed.
Format
dir {{unit <unit_id>} <drive_id>} {<pathname>}
Summary of Contents for xStack DGS-3120 Series
Page 1: ......
Page 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181...
Page 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199...
Page 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358...
Page 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051...