The file unit1>flash:/test/22.txt exists. Overwrite it?[Y/N]:y
The file will be permanently deleted from flash, please wait.
....
%Moved file unit1>flash:/22.txt to unit1>flash:/test/22.txt.
pwd
Syntax
pwd
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:
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
.
1-11