greycat 1280869161 learn Logging all actions and errors of a script (except redirections, unfortunately): exec 2>>/my/logfile; set -x greycat 1309464575 forget greycat 1309464582 learn #redirect logging