3Com Switch 8800 Configuration Guide Chapter 43 File System Management
43-2
43.1.2 Directory Operation
The file system can be used to create or delete a directory, display the current working
directory, and display the information about the files or directories under a specified
directory. You can use the following commands to perform directory operations.
Perform the following configuration in user view.
Table 43-1 Directory operation
Operation Command
Create a directory mkdir directory
Delete a directory rmdir directory
Display the current working directory pwd
Display the information about directories or files dir [ / all ] [ file-url ]
Change the current directory cd directory
43.1.3 File Operation
The file system can be used to delete or undelete a file and permanently delete a file.
Also, it can be used to display file contents, rename, copy and move a file and display
the information about a specified file. You can use the following commands to perform
file operations.
Perform the following configuration in user view.
Table 43-2 File operation
Operation Command
Delete a file delete [ /unreserved ] file-url
Undelete a file undelete file-url
Delete a file from the recycle bin permanently reset recycle-bin [ file-url ]
View contents of a file more file-url
Rename a file rename fileurl-source fileurl-dest
Copy a file copy fileurl-source fileurl-dest
Move a file move fileurl-source fileurl-dest
Display the information about directories or
files dir [ / all ] [ file-url ]
Execute the specified batch file (system view) execute filename