From owner-freebsd-stable Sat May 12 10:52:19 2001 Delivered-To: freebsd-stable@freebsd.org Received: from dt051n37.san.rr.com (dt051n37.san.rr.com [204.210.32.55]) by hub.freebsd.org (Postfix) with ESMTP id CE8C737B440 for ; Sat, 12 May 2001 10:52:14 -0700 (PDT) (envelope-from DougB@DougBarton.net) Received: from DougBarton.net (master [10.0.0.2]) by dt051n37.san.rr.com (8.9.3/8.9.3) with ESMTP id KAA61372; Sat, 12 May 2001 10:52:04 -0700 (PDT) (envelope-from DougB@DougBarton.net) Message-ID: <3AFD7844.F74F0B8F@DougBarton.net> Date: Sat, 12 May 2001 10:52:04 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: "Antoine Beaupre (LMC)" Cc: "Antoine Beaupre (LMC)" , Ian Chilton , freebsd-stable@FreeBSD.ORG Subject: Re: [OT] Re: natd locks me out References: <20010511105928.A22838@woody.ichilton.co.uk> <3AFBEFE6.ED85C80C@lmc.ericsson.se> <3AFC0A97.2E570C0F@lmc.ericsson.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Antoine Beaupre (LMC)" wrote: > > > sh rc.firewall > firewall.out 2>&1 > > ... is the correct syntax The way I try to remember it is that "2>&1" means, "Send STDERR to wherever STDOUT was redirected to." If you think of it that way, that bit has to come at the end because it doesn't make sense for it to come first since STDOUT hasn't been redirected anywhere yet. HTH, Doug -- I need someone really bad. Are you really bad? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message