8.14 history

history [<N>]

The history command outputs the current command-line history to the terminal. The optional parameter, N, if supplied, causes only the first $N$ lines to be printed.