1-2 
Table 1-2 Directory operations 
To do…  Use the command…  Remarks 
Create a directory 
mkdir directory 
Optional 
Delete a directory 
rmdir directory 
Optional 
Display the current work directory 
pwd 
Optional 
Display the information about specific 
directories and files 
dir [ /all ] [ file-url ]  Optional 
Enter a specified directory 
cd directory 
Optional 
 
 
z  Only empty directories can be deleted by using the rmdir command. 
z  In the output information of the dir /all command, deleted files (that is, those stored in the recycle 
bin) are embraced in brackets. 
 
File Operations 
The file system also provides file-related functions listed in Table 1-3. 
Perform the following configuration in user view. Note that the execute command should be executed in 
system view. 
Table 1-3 File operations 
To do…  Use the command…  Remarks 
Delete a file 
delete [ /unreserved ] file-url 
delete { running-files | 
standby-files } [ /unreserved ]
Optional 
A deleted file can be restored 
by using the undelete 
command if you delete it by 
executing the delete command 
without specifying the 
/unreserved keyword. 
Restore a file in the recycle bin  undelete file-url  Optional 
Delete a file from the recycle 
bin 
reset recycle-bin [ file-url ] 
[ /force ] 
Optional 
Rename a file 
rename fileurl-source 
fileurl-dest 
Optional 
Copy a file  copy fileurl-source fileurl-dest Optional 
Move a file  move fileurl-source fileurl-dest Optional 
Display the content of a file  more file-url 
Optional 
Currently, the file system only 
supports displaying the 
contents of text files. 
Display the information about a 
directory or a file 
dir [ /all ] [ file-url ]  Optional