Atucom
A blog about coding, Infosec, penetration testing, and random topics
Thursday, May 19, 2011
Add Timestamps to bash history
Found the solution here:
http://linux.byexamples.com/archives/467/list-command-line-history-with-timestamp/
TL;DR
add:
export HISTTIMEFORMAT="%F %T "
to your .bash_profile
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment