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