Thursday, January 21, 2010

Bash History

A quick way to add a date/time stamp to your bash history:
export HISTTIMEFORMAT="::%h/%d - %H:%M:%S:: "

You can put it in your favorite bash start up file like .bash_profile or .bashrc

No comments:

Post a Comment