Setting a maximum number of commands to record

You can set the command history to record a maximum number of commands.

About this task

ccm cmdhistory -set maximum
-set
Specifies the number of commands saved in the history.
The default maximum value of saved commands is 100.
maximum
Change the maximum value of saved commands to a number of your choosing.

Example

Set the command history to record 60 commands maximum.

ccm cmdhistory -set 60


Feedback