4 file operations, 4 file operations -4, File operations – H3C Technologies H3C S3100 Series Switches User Manual
Page 522: Table 1-4

Operation Manual – File System Management
H3C S3100-52P Ethernet Switch
Chapter 1 File System Management
Configuration
1-4
Table 1-4
Directory operations
To do…
Use the command…
Remarks
Create a directory
mkdir
directory
Optional
Delete a directory
rmdir
directory
Optional
Only empty directories
can be deleted.
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
Note:
In the output information of the dir /all command, deleted files (that is, those in the
recycle bin) are embraced in brackets.
1.2.4 File Operations
The file system also provides file-related functions, such as:
z
Deleting a file
z
Restoring a deleted file
z
Deleting a file permanently
z
Managing a configuration file
z
Renaming a file
z
Copying a file
z
Moving a file
z
Displaying the content of a file
z
Displaying the information about a file
z
Checking file system
Perform the following configuration in user view. Note that the execute command
should be executed in system view, and the display command can be executed in any
view.