Page 1 of 1

How to make history command to display time

Posted: Thu Apr 11, 2013 6:30 pm
by a24uall
export HISTTIMEFORMAT="%Y%m%d %H:%M:%S "
After the above command history will how the date and time of commands untill the current shell is closed.