Enable timestamp in bash history

export HISTTIMEFORMAT="%F %T "
or add this to the ~./.bashrc