Friday, January 10, 2014

Timestamp .sh_history

Do you want timestamp or ip-sign every .sh_history entry ??

Try this... simply fantastic....:

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

or...

trap 'who am i -R | read -s' debug

...you can try any other command you imagine to sign your history

No comments:

Post a Comment