Bash logging: two questions

2010-07-21 Thread jimbob palmer
Hello, I would like to run a bash script but to log output and exit codes. Essentially I would like to run the script with bash -x, but for that output to the log to go to a file, and the normal output as from running a normal script to go to the terminal. That's my first question :) My second

Re: Bash logging: two questions

2010-07-21 Thread Anonymous
jimbob palmer jimbobpal...@gmail.com writes: Hello, I would like to run a bash script but to log output and exit codes. Essentially I would like to run the script with bash -x, but for that output to the log to go to a file, and the normal output as from running a normal script to go to the