The history-command max-size command sets the size of the historical command buffer.
The undo history-command max-size command restores the default size of the historical command buffer.
By default, a maximum of 10 previously-used commands can be saved in the buffer.
Parameter | Description | Value |
---|---|---|
size-value | Specifies the size of the historical command buffer. | The value is an integer ranging from 0 to 256. |
Usage Scenario
The CLI can automatically save the historical commands that you enter. This function is similar to that of Doskey. You can invoke and run the historical commands at any time.
Precautions