From owner-freebsd-questions Mon Feb 19 13:59:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from karon.dynas.se (karon.dynas.se [192.71.43.4]) by hub.freebsd.org (Postfix) with SMTP id 10EC637B491 for ; Mon, 19 Feb 2001 13:59:50 -0800 (PST) Received: (qmail 22490 invoked from network); 19 Feb 2001 21:59:49 -0000 Received: from spirit.sto.dynas.se (HELO spirit.dynas.se) (172.16.1.10) by 172.16.1.1 with SMTP; 19 Feb 2001 21:59:49 -0000 Received: (qmail 22281 invoked from network); 19 Feb 2001 21:59:47 -0000 Received: from explorer.rsa.com (10.81.217.59) by spirit.dynas.se with SMTP; 19 Feb 2001 21:59:47 -0000 Received: (from mikko@localhost) by explorer.rsa.com (8.11.1/8.11.1) id f1JLxlN66554; Mon, 19 Feb 2001 13:59:47 -0800 (PST) (envelope-from mikko) Date: Mon, 19 Feb 2001 13:59:47 -0800 (PST) From: Mikko Tyolajarvi Message-Id: <200102192159.f1JLxlN66554@explorer.rsa.com> To: falbu@amnesty.org Cc: questions@freebsd.org Subject: Re: Redirecting STDERR from within the script Newsgroups: local.freebsd.questions References: X-Newsreader: NN version 6.5.6 (NOV) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In local.freebsd.questions you write: >Hello gurus, >I was wondering if there's a way you can redirect stderr >from within the shell script that is running. exec 2> /tmp/whatever $.02, /Mikko -- Mikko Työläjärvi_______________________________________mikko@rsasecurity.com RSA Security To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message