Eternal bash history
Debian Administration has great advice for requesting that bash keep a history of all commands recorded. Add this to your .bashrc!
export HISTTIMEFORMAT="%s " PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND ; }"'echo $$ $USER \ "$(history 1)" >> ~/.bash_eternal_history'