History - Debian add timestamp

From Skytech
Revision as of 14:45, 5 September 2012 by Martin (talk | contribs) (→‎Add timestamp in history data on debian)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Add timestamp in history data on debian

Edit

/etc/bash.bashrc

Add

export HISTTIMEFORMAT="%Y-%m-%d_%H:%M:%S "

At the end.