D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
286
cd
Purpose This command is used to change the current directory.
Syntax
cd {<pathname 64>}
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.
Parameters
<pathname 64> - (Optional) Specifies 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. This name can be up to 64 characters long.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To change to other directory or display current directory path:
DGS-3627:admin#cd c:\
Command: cd c:\
Change Unit 1 path to c:\
Success.
DGS-3627:admin#
dir
Purpose List all of the files located in a directory of a drive.
Syntax
dir {{unit [<unitid 1-12>|all]} <drive_id>}
Description List all of 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.
Parameters
unit - (Optional) Specifies a unit ID if in the stacking system. If not specified, it refers to the
master unit.
<unit 1-12> - Enter the unit ID here. This value must be between 1 and 12.
all - (Optional) Lists all unit located files in stacking system.
<drive_id> - Specifies the drive ID used.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
List the files without specified the parameter “all”: