From owner-freebsd-questions Fri May 22 03:25:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA23988 for freebsd-questions-outgoing; Fri, 22 May 1998 03:25:18 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclone.degnet.baynet.de (www.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA23968 for ; Fri, 22 May 1998 03:25:02 -0700 (PDT) (envelope-from malte@webmore.com) Received: from neuron.webmore.com (unverified [194.95.214.164]) by cyclone.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Fri, 22 May 1998 12:22:15 +0200 Received: from neuron.webmore.de (malte@webmore.com) by neuron.webmore.com (8.8.8/8.8.8) with ESMTP id MAA00363; Fri, 22 May 1998 12:22:05 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <19980522091434.12772@sr.se> Date: Fri, 22 May 1998 12:22:05 +0200 (CEST) Reply-To: malte@webmore.com From: Malte Lance To: flygt@sr.se Subject: RE: Newbie question Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 22-May-98 Gunnar Flygt wrote: > What does the ´>/dev/null 2>&1' seen in many compilations actually do? I > understand that the output is redirected to null but the rest does what? stdin -> filedescriptor 0 stdout -> filedescriptor 1 stderr -> filedescriptor 2 2> redirects stderr 2>&1 redirects stderr to filedescriptor 1 (which is redirected to /dev/null) Malte > > -- > regards, Gunnar > email: flygt@sr.se > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ---------------------------------- E-Mail: Malte Lance Date: 22-May-98 Time: 12:19:39 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message