history command

The list of command that you entered is kept in a file and you can read your previous command using history.

  1. Enter history command
  2. These are our previous command.

You can check you previous commands using the history command.