History - Debian add timestamp
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.