4
Command Line Interface
Command Usage
There are no user guidelines for this command.
Example
The following example disables the command history function for the current
terminal session.
Console# terminal no history
Related Commands
terminal history size
show line
terminal history size
The terminal history size user EXEC command configures the command history
buffer size for the current terminal session. To reset the command history buffer size
to the default setting, use the no form of this command.
Syntax
terminal history size number-of-commands
terminal no history size
Parameters
• number-of-commands — Specifies the number of commands the system
may record in its command history buffer. The buffer size is dependent on
device resources.
Default Setting
The command history buffer size has no default.
Command Mode
User EXEC mode
Command Usage
The terminal history size user EXEC command configures the size of the
command history buffer for the current terminal session. To change the default
size of the command history buffer, use the history line configuration
command.
Example
The following example configures the command history buffer size to 20 commands
for the current terminal session.
Console# terminal history size 20
Related Commands
show line
448