Saving all output
Something like this will save both stdout and stderr.
make > /tmp/myouput 2>&1
That last little bit says "send the output of file descriptort
2 (which is stderr) to wherever the output of file descriptor
1 (which is stdout) is going". Becuase it looks at where
stdout is going _at_ _that_ _point_, it's important to
put the redirection of stderr second.
make 2>&1 | tee /tmp/myoutput
Does the same, but also lets you watch what's happenning.
|