Managing files, Displaying file information, Displaying the contents of a file – H3C Technologies H3C S12500 Series Switches User Manual

Page 100: Renaming a file, Copying a file, Moving a file

Advertising
background image

88

Managing files

You can display directory or file information; display file contents; rename, copy, move, remove, restore,
and delete files.
The copy operation enables you to create a file. You can also create a file by performing the download

operation or using the save command.

Displaying file information

Perform this task in user view.

Task Command

Display file or directory information.

dir [ /all ] [ file-url | /all-filesystems ]

Displaying the contents of a file

Perform this task in user view.

Task Command

Remarks

Display the contents of a file.

more file-url [ | { begin | exclude |
include } regular-expression ]

Only a .txt file can be displayed.

Renaming a file

Perform this task in user view.

Task Command

Rename a file.

rename fileurl-source fileurl-dest

Copying a file

Perform this task in user view.

Task Command

Copy a file.

copy fileurl-source fileurl-dest

Moving a file

Perform this task in user view.

Advertising