Adding timestamp after each command typed, using a trap

segunda-feira, 16 de janeiro de 2012

Put the follow entry in the user profile:

trap 'date "+# %c" | read -s' debug