From owner-freebsd-questions Tue Aug 29 7:38:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wondermutt.net (host75-157.student.udel.edu [128.175.75.157]) by hub.freebsd.org (Postfix) with ESMTP id D14A437B422 for ; Tue, 29 Aug 2000 07:38:14 -0700 (PDT) Received: from morgaine.udel.edu (morgaine.wondermutt.net [192.168.1.2]) by wondermutt.net (8.9.3/8.9.3) with ESMTP id KAA95277; Tue, 29 Aug 2000 10:40:09 -0400 (EDT) (envelope-from papalia@udel.edu) Message-Id: <4.3.1.2.20000829103132.00ac2890@mail.udel.edu> X-Sender: papalia@mail.udel.edu X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Tue, 29 Aug 2000 10:37:19 -0400 To: "Dimitri T." , freebsd-questions@FreeBSD.ORG From: John Subject: Re: redirect standard error In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >i run a program and redirect its output to a file. But errors appear on >the screen. > >How can I redirect the standard error so that all the output of the >program (i.e. output + errors) goes to that single file?? > >B.t.w. I use tcsh. try using: program >& outputfile that should put your stdout an stderr both in the same file (man tcsh and search on `redirection' to read the section on it). --john To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message