Print the last 10 commands from history

history 10

March 16, 2019Julien_Tremblay_McLellan

Explanation

The history N command prints the last N lines from the command history.

See help history for more options to display or manipulate the history list.

The features related to history in man bash are also interesting, search for HIST.