Timestamping your bash_history
This is useful when trying to figure out what was done when. You can configure your profile to timestamp the bash_history.
To add a timestamp, simply execute the following:
echo ‘export HISTTIMEFORMAT=”%d/%m/%y %T “‘ >> ~/.bash_profile ; source ~/.bash_profile
Now the history command is more useful.