A Linux terminal running Bash has a built-in history that you can use to track what you[he]#039[/he]ve been doing lately. To view a history of your Bash session, use the built-in command history.
Source: LXer – Make Bash history more useful with these tips