How to see time stamps in bash history?
Enter the following command in terminal.
HISTTIMEFORMAT="%d/%m/%y %T "
Or, to make the change permanent for the current user:
echo 'export HISTTIMEFORMAT="%d/%m/%y %T "' >> ~/.bashrc
Now try the history command, you will see the timestamp along with the command history.