From owner-freebsd-questions Tue Feb 22 18: 3:15 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.nwlink.com (smtp.nwlink.com [209.20.130.57]) by hub.freebsd.org (Postfix) with ESMTP id 7F43C37B801 for ; Tue, 22 Feb 2000 18:03:13 -0800 (PST) (envelope-from rjoseph@nwlink.com) Received: from ip111.r6.d.bel.nwlink.com (ip111.r6.d.bel.nwlink.com [207.202.173.111]) by smtp.nwlink.com (8.9.3/8.9.3) with ESMTP id SAA10079; Tue, 22 Feb 2000 18:03:05 -0800 (PST) Date: Tue, 22 Feb 2000 17:58:04 -0800 (PST) From: R Joseph Wright X-Sender: rjoseph@mammalia.sea To: Jim Pazarena Cc: tracker@worldy.com, questions@FreeBSD.ORG Subject: Re: how to capture errors to a file In-Reply-To: <10002221732.aa23317@ccstores.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 22 Feb 2000, Jim Pazarena wrote: > >Subject: how to capture errors to a file > >From: "david e. banning" > >Date: Sun, 20 Feb 2000 01:46:36 GMT > >To: questions@freebsd.org > > >I am having errors compiling - I want to send error messages to > >a file - I tried; > >"make 2>&1 > errorfile" - nope What's the "2>&1 >" for? > >then I tried; > >"make > errorfile" - get some of the errors - the rest go to the screen > did you try: > > make >errorfile 2>&1 > ?? I recently discovered "script" which copies everything that goes onto the screen to a file. For example, script errorfile make did the trick for me. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message