Command Reference File System Commands
File System Commands
cd
Use this command to set the present directory for the file system.
cd [ filesystem: ] [ directory ]
Parameter Description
filesystem:
Specified file system. This parameter must be carried with “:”.
Parameter
Description
directory
Specified directory
Defaults
The default directory is the flash root directory.
Command
Mode
Privileged EXEC mode.
Usage Guide Change the above parameter to the directory you want to enter. Use the pwd command to view the
present directory.
Configuration
Examples
Example 1: The following example sets usb0 root directory as the present directory:
Ruijie# cd usb0:/Example 1: The following example sets sd root directory as the present directory:
Ruijie# cd sd0:/
Command Description Related
Commands
pwd
Show the present word directory.
Platform
Description
N/A.
copy
Use this command to copy a file from the specified source directory to the specified destination
directory.
copy source-url destination-url
Parameter Description
source-url
Source file URL, which can be local or remote.
Parameter
Description
destination-url
Destination file URL, which can be local or remote.
Defaults
N/A.