– By running the more file-name command, you can view the file named file-name.
Contents of a text file are displayed screen after screen. If you hold and press the
spacebar on the current terminal, all contents of the current file can be displayed.
There are two preconditions if you want to display the contents of a text file screen after
screen:
– The value configured by screen-length screen-length temporary command must
be larger than 0.
– The total lines of the file must be larger than the value configured by screen-
length command.
– By running the more file-name offset command, you can view the file named file-
name. Contents of a text file are displayed from the line specified by offset screen after
screen. If you hold and press the spacebar on the current terminal, all contents of the
current file can be displayed.
There are two preconditions if you want to display the contents of a text file screen after
screen:
– The value configured by screen-length screen-length command must be larger than
0.
– The result of the number of file characters subtracted by the value of offset must be
larger than the value configured by screen-length command.
– By running the more file-name all command, you can view the file named file-name.
Contents of a text file are completely displayed without pausing after each screenful of
information.
l Run:
copy source-filename destination-filename
The file is copied.
NOTE
The file to be copied must be larger than 0 bytes. Otherwise, the operation fails.
l Run:
move source-filename destination-filename
The file is moved.
l Run:
rename source-filename destination-filename
The file is renamed.
l Run:
zip source-filename destination-filename
The file is compressed.
l Run:
delete [ /unreserved ] [ /force ] { filename | device-name } [ all ]
The file is deleted.
If you use the parameter [ /unreserved ] in the delete command, the file cannot be restored
after being deleted.
l Run:
undelete filename
The deleted file is recovered.
Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration 6 Managing File System
Issue 02 (2011-10-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
88