From owner-freebsd-questions Tue Mar 6 10:15:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from trinity.lee.net (trinity.lee.net [208.229.121.1]) by hub.freebsd.org (Postfix) with ESMTP id EE9D137B71A for ; Tue, 6 Mar 2001 10:15:20 -0800 (PST) (envelope-from awells@journalstar.com) Received: from journalstar.com (leepcC-097.sub-c.lee.net [208.205.126.97]) by trinity.lee.net (8.9.3/8.9.3) with ESMTP id MAA29831; Tue, 6 Mar 2001 12:15:17 -0600 Message-ID: <3AA52914.EB033F18@journalstar.com> Date: Tue, 06 Mar 2001 12:14:44 -0600 From: Tony Wells X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.0.36 i386) X-Accept-Language: en MIME-Version: 1.0 To: The Hermit Hacker Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Redirecting stderr to syslog ... References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If you want to re-direct both stdout and stderr you could use: 2>&1 The Hermit Hacker wrote: > > If I want to redirect stderr to a file, in tcsh, I do: > > >& > > If I want to redirect stdout to syslog, I do: > > | logger -p > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message