Add timestaps to your bash history
bash history is very useful to access your past commands. Sometimes it would be just great to know when a command was typed to be able to correlate it to another event. Imagine we know that there was a change in a repository that might have fixed a heisenbug. But we know that not long ago, we saw the bug again. But are we sure it was before the change in the repository was made?
We can solve this (and other problems) by adding time stamps to our bash history. Add the following line to your .bash_profile file:
export HISTTIMEFORMAT="%d/%m/%y %T "