On Your Bash History
There has been about eleventy billion times I’ve done something at work on a *nix system and then a few days later wondered what/when/how/why I did it. This little tip I found goes some way to helping this eternal headache by appending a date to the entries in your .bash_history
The basic gist is you just vim your .bashrc and append the line
export HISTTIMEFORMAT=”%h/%d – %H:%M:%S “
Then exit and the next time you login all your dreams will have come true*.
The full article can be found Here
* This assumes all your dreams comprise of dates prepended to the display of each command and you haven’t killed yourself for having such a sad arse dream.