On Tue, 2008-07-22 at 16:06 -0600, Wade Preston Shearer wrote:
> > 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.


/usr/local/bin/backup.sh &> /var/log/backup.log



/*
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