Command Manual – System Management 
Quidway S8500 Series Routing Switches  Chapter 1  File System Management Commands
 
Huawei Technologies Proprietary 
1-9 
Parameter 
None 
Description 
Use the pwd command to view the current path. 
Error may occur without setting the current path. 
Example 
# Display the current path. 
<Quidway> pwd 
flash: 
1.1.13  rename 
Syntax 
rename fileurl-source fileurl-dest 
View 
User view 
Parameter 
fileurl-source: Source file name. 
fileurl-dest: Destination file name. 
Description 
Use the rename command to rename a file. 
If the destination file name is identical with that of an already existent directory or file, 
the rename operation fails and the system prompts that name has already been used or 
the file is being used. 
Example 
# Rename the file sample.txt to sample.bak. 
<Quidway> rename sample.txt sample.bak 
Rename flash:/sample.txt to flash:/sample.bak ?[Y/N]:y 
%Renamed file flash:/sample.txt to flash:/sample.bak 
1.1.14  reset recycle-bin 
Syntax 
reset recycle-bin [ file-url ]