Command Manual (For Soliton) – File System Management
H3C S3100 Series Ethernet Switches
Chapter 1 File System Management
Configuration Commands
1-2
Parameter
directory
: Target directory.
Description
Use the
cd
command to enter a specified directory on the Ethernet switch.
The default directory when a user logs onto the switch is the root directory of Flash
memory.
Example
# Enter the directory named test from the root directory.
<Sysname> cd test
# Return to the upper directory. Note that keyword
cd
is followed by a space.
<Sysname> cd ..
After modifying the working directory using the
cd
command, you can use the
pwd
command to display the current working directory.
1.1.2 copy
Syntax
copy
fileurl
-
source fileurl
-
dest
View
User view
Parameter
fileurl
-
source
: Name of the source file.
fileurl
-
dest
: Name of the target file.
Description
Use the
copy
command to copy a file.
If the
fileurl
-
dest
argument identifies an existing file, the existing file will be overwritten
after the command is executed successfully.
If the path, rather than the name of the target file is specified, the source file name is
used as the target file name by default.
Example
# Copy file
config.cfg
from the root directory to directory
test
, and save the file using
name
1.cfg
.
<Sysname> copy flash:/config.cfg flash:/test/1.cfg