Tweaking the History of your Bash

Submitted by ricardo on Wed, 06/26/2013 - 20:46

I use bash every day and i want to keep track of EVERYTHING
(and with dates, please)
add this to your .bashrc if you want to keep track of your stuff also:
#10 Million records:
export HISTSIZE=10000000
# Timestamps, Format: YYYY-MM-DD HH:mm:SS
export HISTTIMEFORMAT='%F %T '

Powered by Drupal