history prints the history of entered commands.
history is run with
-h parameter the help message appears as follows:
usage: help [options] or no args to print command history -c: clears command history -h: shows this help message
History is stored chronologically and not redundant so that consecutive entries of exactly the same command are not duplicated.
It is also possible to scroll through commands history using arrow keys when entering a command.