Saving History Commands - HP 4800G Series Configuration Manual

24/48 port
Table of Contents

Advertisement

Commands in the System Volume.) You can follow the step below to disable the multiple-screen output
function of the current user.
To do...
Disable the
multiple-screen
output function
of the current
user
Display functions
CLI offers the following feature:
When the information displayed exceeds one screen, you can pause using one of the methods shown
in
Table
1-6.
Table 1-6 Display functions
Press Space when information display pauses
Press Enter when information display pauses
Press Ctrl+C when information display pauses
Ctrl+E
PageUp
PageDown

Saving History Commands

The CLI can automatically save the commands that have been used lately to the history buffer. You can
know the operations that have been executed successfully, invoke and repeatedly execute them as
needed. By default, the CLI can save up to ten commands for each user. You can use the
history-command max-size command to set the capacity of the history commands buffer for the
current user interface (For the detailed description of the history-command max-size command, refer
to Login Commands in the System Volume). In addition:
The CLI saves the commands in the format that you have input, that is, if you input a command in
its incomplete form, the saved history command is also incomplete.
If you execute a command for multiple times successively, the CLI saves the earliest one. However,
if you execute the different forms of a command, the CLI saves each form of this command. For
example, if you execute the display cu command for multiple times successively, the CLI saves
only one history command; if you execute the display cu command and then the display
current-configuration command, the CLI saves two history commands.
Follow these steps to access history commands:
Use the command...
screen-length disable
Action
Required
By default, a login user uses the settings of the
screen-length command. The default settings of the
screen-length command are: multiple-screen output
is enabled and 24 lines are displayed on the next
screen.
This command is executed in user view, and
therefore is applicable to the current user only. When
a user re-logs in, the settings restore to the system
default.
Continues to display information of the next
screen page.
Continues to display information of the next line.
Stops the display and the command execution.
Moves the cursor to the end of the current line.
Displays information on the previous page.
Displays information on the next page.
1-20
Remarks
Function

Advertisement

Chapters

Table of Contents
loading

Table of Contents