The screen-length command sets the number of lines on each terminal screen.
The undo screen-length command restores the default configuration.
By default, the number of lines displayed on a terminal screen is 24.
In the user interface view:
screen-length screen-length [ temporary ]
undo screen-length [ temporary ]
In the user view:
screen-length screen-length temporary
undo screen-length temporary
Parameter | Description | Value |
---|---|---|
screen-length | Specifies the number of lines displayed on a terminal screen. | The value is an integer that ranges from 0 to 512. The value 0 indicates that all command output is displayed on one screen. |
temporary | Specifies the number of lines temporarily displayed on a terminal screen. | - |
If a command output is displayed in more lines than you can see on one screen, run the screen-length command to reduce the number of lines displayed on each screen.
In general, you do not need to change the number of lines displayed on each screen. Setting the number of lines to 0 is not recommended. The configuration takes effect after you log in to the system again.
In the user view, the temporary parameter is mandatory, and this command is at the Monitoring level.