For /bin/sh, the typical syntax to send stderr to the same place as
stdout is "2>&1".

Wouldn't that take the standard error and redirect it back to the
display? I want to take the standard output and standard error and
send them both to a log file.

Sure. you use 2>&1 when doing that. Cause when you're redirecting to a
file you're redirecting stdout.

Would it be done like this then?

2>&1 > logfile

Attachment: smime.p7s
Description: S/MIME cryptographic signature

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to