You cannot go back and get timestamps of commands that were already run, but you can add the following to your bash_profile in order to have history timestamp things going forward:
export HISTTIMEFORMAT= "%F %T "
And then of course on your next login this will be exported.
You'll get output like this:
999 2011-08-24 10:12:02 vi .bash_profile
Leave a comment: