How to show command history with executed time on Unix

Posted by Stan on Server Fault See other posts from Server Fault or by Stan
Published on 2010-05-01T17:32:27Z Indexed on 2010/05/01 17:38 UTC
Read the original article Hit count: 274

Filed under:
|

I tried export HISTTIMEFORMAT='%D %T' but it seems the time stamp of commands executed before I set HISTTIMEFORMAT will be the time I logged in current session. Is this normal? Is there any way to check when did the previous command executed? Thanks.

© Server Fault or respective owner

Related posts about unix

Related posts about history