h
history [n]
Without the optional parameter, displays the current history. Optional argument 'n' specifies the number of commands that are kept in the history list.
To find out how the history mechanism works, please refer to the Section called User Interface in Chapter 3.