
Command Manual (For Soliton) – File System Management
H3C S3100 Series Ethernet Switches
Chapter 1 File System Management
Configuration Commands
1-13
View
User view
Parameter
None
Description
Use the
pwd
command to display the current working path of the login user.
Example
# Display the current working path.
<Sysname> pwd
unit1>flash:
1.1.13 rename
Syntax
rename
fileurl
-
source fileurl
-
dest
View
User view
Parameter
fileurl
-
source
: Original path name or file name of a file in the Flash memory.
fileurl
-
dest
: Target path name or file name.
Description
Use the
rename
command to rename a file or a directory.
If the target file name or directory name is the same with any existing file name or
directory name, you will fail to perform the rename operation.
Example
# Rename the file named config.txt to config.bak.
<Sysname>rename config.txt config.bak
Rename unit1>flash:/config.txt to unit1>flash:/config.bak?[Y/N]:y
.
%Renamed file unit1>flash:/config.txt to unit1>flash:/config.bak.