shell> export HISTTIMEFORMAT='%F %T '
shell> history | tail -n 2
1006 2010-01-16 00:55:47 export HISTTIMEFORMAT='%F %T '
1007 2010-01-16 00:55:49 history | tail -n 2
This will last as long as environment variable is set, so if I log out you will need to set it again. How do I make this permanent?