It stored at /home/"username"/.bash_history
But this file is hidden, so you need to issue
to see it in your home directory.
And you can list it with the
If you want to use any command again which previously used, you could use the !"number here" to rerun the command again.
will run the 25 command from the bash history.