The operating system "remembers" all the commands you enter.
You can display a list of these commands by using the following command:
If you use a command more than once, consecutively, the history will list only the first instance.