File Operations - H3C S3100 Series Operation Manual

H3c s3100 series ethernet switches operation manual
Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Table 1-2 Directory operations
Create a directory
Delete a directory
Display the current work directory
Display the information about specific
directories and files
Enter a specified directory
Only empty directories can be deleted by using the rmdir command.
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
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...
Delete a file
Restore a file in the recycle bin
Delete a file from the recycle bin
Rename a file
Copy a file
Move a file
Display the content of a file
Display the information about a
directory or a file
Enter system view
To do...
delete [ /unreserved ] file-url
delete { running-files |
standby-files } [ /unreserved ]
undelete file-url
reset recycle-bin [ file-url ]
[ /force ]
rename fileurl-source fileurl-dest
copy fileurl-source fileurl-dest
move fileurl-source fileurl-dest
more file-url
dir [ /all ] [ file-url ]
system-view
Use the command...
mkdir directory
rmdir directory
pwd
dir [ /all ] [ file-url ]
cd directory
Table
Use the command...
1-2
Optional
Optional
Optional
Optional
Optional
1-3.
Remarks
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.
Optional
Optional
Optional
Optional
Optional
Optional
Currently, the file system only
supports displaying the contents of
text files.
Optional
Remarks

Advertisement

Chapters

Table of Contents
loading

Table of Contents