Date: Tue, 6 Mar 2001 23:10:07 -0800 From: "Jerry Y. Wang" <dimension10@earthlink.net> To: freebsd-questions@FreeBSD.ORG Subject: Re: Redirecting stderr to syslog ... Message-ID: <20010306231007.A36586@dragon.jerrywang.dyndns.org> In-Reply-To: <3AA52914.EB033F18@journalstar.com>; from awells@journalstar.com on Tue, Mar 06, 2001 at 12:14:44PM -0600 References: <Pine.BSF.4.33.0103060701220.859-100000@mobile.hub.org> <3AA52914.EB033F18@journalstar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
That does not work in tcsh or csh. On Tue, Mar 06, 2001 at 12:14:44PM -0600, Tony Wells wrote: > If you want to re-direct both stdout and stderr you could use: > <prog> 2>&1 <file or whatever> > > The Hermit Hacker wrote: > > > > If I want to redirect stderr to a file, in tcsh, I do: > > > > <prog> >& <file> > > > > If I want to redirect stdout to syslog, I do: > > > > <prog> | logger -p <pri> > > > > How would one redirect stderr to syslog? > > > > Thanks ... > > > > Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy > > Systems Administrator @ hub.org > > primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010306231007.A36586>