101
6
File management commands
NOTE:
The current working directory is the root directory of the storage medium on the device in the
examples in this manual.
For the qualified filename formats, see
File Management
in the
Fundamentals Configuration
Guide
.
cd
Syntax
cd
{
directory |
..
|
/
}
View
User view
Default Level
3: Manage level
Parameters
directory
: Name of the target directory, in the format of [
drive
:/]
path.
For the detailed
introduction to the drive and path arguments,
see
File Management
in the
Fundamentals Configuration Guide.
If no drive information is provided, the argument
represents a folder or subfolder under the current directory.
..
: Returns to an upper directory. If the current working directory is the root directory, or
no upper directory exists, the current working directory does not change when the
cd ..
command is executed. This argument does not support command online help.
/
: Returns to the root directory of the storage medium. The keyword does not support
command line online help.
Description
Use the
cd
command to change the current working directory.
Examples
Example 1:
Enter the
test
folder after logging in to the device.
<Sysname> cd test