
more
Displays a file using the number of lines per screen as specified by the terminal length command.
Syntax: more filename
filename
Name of file to be displayed.
Description: Use the more command to display a file. A portion of the file is displayed. Press the space bar to display the next portion of the file.
The number of lines displayed when you use the more command is defined by the terminal length command. The number of characters displayed per line is defined by the terminal width command.
Factory Default: None.
Command Mode: Privileged.
Example: In the following example:
- The terminal length command specifies that 10 lines are displayed.
- The more command displays a file named os_log.0. The first 10 lines of the file are displayed and the output pauses until you press the space bar and the next 10 lines of output are displayed.
- The terminal length command resets the number of lines displayed to 5.
- The more command displays a file named os_log.0. The first 5 lines of the file are displayed and the output pauses until you press the space bar and the next 5 lines of output are displayed.
router#terminal length 10
router#more os_log.0
Routing[0] INFO OCT 19 09:14:47.933 - tRouteTask
trace_file_free: freeing stderr
Routing[0] INFO OCT 19 09:14:47.933 - tRouteTask
Start gated[252680168] version 4.0.2 built
Routing[0] INFO OCT 19 09:14:47.983 - tRouteTask
parse_open: error opening gated.cnf: S_dosFsLib_FILE_NOT_FOUND
Routing[0] INFO OCT 19 09:14:47.983 - tRouteTask
parse_parse: 1 parse error
Routing[0] INFO OCT 19 09:14:47.983 - tRouteTask
Could not open config file: gated.cnf
--More--
router#terminal length 5
router#more os_log.0
Routing[0] INFO OCT 19 09:14:47.933 - tRouteTask
trace_file_free: freeing stderr
Routing[0] INFO OCT 19 09:14:47.933 - tRouteTask
Start gated[252680168] version 4.0.2 built
Routing[0] INFO OCT 19 09:14:47.983 - tRouteTask
--More--
Copyright © 2005
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: ConfigFileMgrCmd.fm
HTML File Name: ConfigFileMgrCmd10.html
Last Updated: 02/25/05 at 14:26:17