File operations, Displaying file information, Displaying the contents of a file – H3C Technologies H3C S7500E Series Switches User Manual
Page 126
8-5
z
The directory to be removed must be empty, meaning that before you remove a directory, you
must delete all the files and the subdirectory under this directory. For file deletion, refer to the
delete command; for subdirectory deletion, refer to the rmdir command.
z
After you execute the rmdir command successfully, the files in the recycle bin under the directory
will be automatically deleted.
File Operations
File operations include displaying the specified directory or file information; displaying file contents;
renaming, copying, moving, removing, restoring, and deleting files.
You can create a file by copying, downloading or using the save command.
Displaying File Information
To do…
Use the command…
Remarks
Display file or directory information
dir [ /all ] [ file-url ]
Required
Available in user view
Displaying the Contents of a File
To do…
Use the command…
Remarks
Display the contents of a file
more file-url
Required
Currently only a .txt file can be
displayed.
Available in user view