Enable date-stamp in your .bash_history file
While it’s easily cleared by a malicious person, this can easily extend the usefulness of your history file with the information of when you ran that command.
This works in bash v3 and up.
If you’d like to add the time-stamping to all users on the machine, the file you’d want to edit is probably /etc/profile. If not, add it to your .bash_profile in your home directory (~).
Add ...