133
pwd
Use
pwd
to display the current working directory.
Syntax
pwd
Views
User view
Predefined user roles
network-admin
mdc-admin
Examples
# Display the current working directory.
<Sysname> pwd
flash:
rename
Use
rename
to rename a file or folder.
Syntax
rename
fileurl-source fileurl-dest
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
fileurl
-
source
: Specifies the name of the source file or folder.
fileurl
-
dest
: Specifies the name of the destination file or folder.
Usage guidelines
If the destination file or folder name is the same as the name of an existing file or folder in the current
working directory, this command is not executed.
Examples
# Rename the
copy.cfg
file as
test.cfg
.
<Sysname> rename copy.cfg test.cfg
Rename flash:/copy.cfg as flash:/test.cfg?[Y/N]:y
Renaming flash:/copy.cfg as flash:/test.cfg... Done.
reset recycle-bin
Use
reset recycle-bin
to delete files from the recycle bin.
Syntax
reset recycle-bin
[ /
force
]