history

Table 1. history

Displays the current session's command line history.

Syntax:

history [limit]

View

Normal

Parameters

[limit]: Specifies the size of the history list for the current session

Specifying "0" retains all commands for the session.

Example:

To specify six commands for the size of the history list:

history 6