History - Debian add timestamp: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= Add timestamp in history data on debian= Edit /etc/bash.bashrc Add <pre> export HISTTIMEFORMAT="%Y-%m-%d_%H:%M:%S " </pre> At the end.") |
|||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
Edit |
Edit |
||
<code> |
|||
/etc/bash.bashrc |
/etc/bash.bashrc |
||
</code> |
|||
Add |
Add |
Latest revision as of 14:45, 5 September 2012
Add timestamp in history data on debian
Edit
/etc/bash.bashrc
Add
export HISTTIMEFORMAT="%Y-%m-%d_%H:%M:%S "
At the end.