1.28 history

history [ <number of items> ]

The history command prints a list of the most recently executed commands on the terminal. The optional parameter, N, if supplied, causes only the latest $$N$ commands to be displayed. 

$