92
File system management commands
In the examples in this chapter, the current working directory refers to the root directory of the storage
medium on the device.
For information about the qualified file name formats, see
Fundamental Configuration Guide
.
cd
Use
cd
to change the current working directory.
Syntax
cd
{
directory
|
..
|
/
}
Views
User view
Default command level
3: Manage level
Parameters
directory
: Specifies the name of the target directory in the format of [
drive
:/]
path.
For the detailed
introduction to the drive and path arguments,
see
Fundamentals Configuration Guide.
If no drive
information is provided, the argument represents a folder or subfolder in the current directory.
..
: Returns to an upper directory. If the current working directory is the root directory, or if no upper
directory exists, the current working directory does not change when
cd ..
is executed. This argument
does not support command online help.
/
: Returns to the root directory of the storage medium. This keyword does not support command line
online help.
Examples
# Enter the root directory of the Flash on a subordinate device with the member ID 2 after logging in to
the master.
<Sysname> cd slot2#flash:/
# Change the current directory from the file system of the subordinate device to the
test
folder in the root
directory of the master.
<Sysname> cd flash:/
copy
Use
copy
to copy a file.
Syntax
copy
fileurl-source fileurl-dest
Views
User view