Timestamp in history command
June 20, 2008 at 11:00 am Leave a comment
To put time stamp against every command logged in history file on linux host add the following line to your .bashrc file:
export HISTTIMEFORMAT=”%D %T “
Entry filed under: Linux. Tags: history, time stamp.
Trackback this post | Subscribe to the comments via RSS Feed