From owner-freebsd-questions Thu May 18 6:13:12 2000 Delivered-To: freebsd-questions@freebsd.org Received: from zeppo.it.uu.se (zeppo.it.uu.se [130.238.15.19]) by hub.freebsd.org (Postfix) with ESMTP id 9482037BC74 for ; Thu, 18 May 2000 06:13:03 -0700 (PDT) (envelope-from ertr1013@csd.uu.se) Received: (from ertr1013@localhost) by zeppo.it.uu.se (8.8.5/8.8.5) id PAA21174; Thu, 18 May 2000 15:12:48 +0200 (MET DST) Date: Thu, 18 May 2000 15:12:48 +0200 From: Erik Trulsson To: "James A Wilde" Cc: "FreeBSD Questions" Subject: Re: Redirection Message-ID: <20000518151248.A21009@student.csd.uu.se> References: <003e01bfc0c9$11544c80$8c0aa8c0@hk.tbv.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <003e01bfc0c9$11544c80$8c0aa8c0@hk.tbv.se>; from james.wilde@tbv.se on Thu, May 18, 2000 at 03:00:40PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, May 18, 2000 at 03:00:40PM +0200, James A Wilde wrote: > A quick clarification first: Root's default shell is the Bourne shell, sh. > User's default shell is csh. And presumably when User su's, his shell > becomes the Bourne shell. The machine is running 3.1, btw. (Does anyone > know if it is the same on Solaris 7?) > > Almost all I do on the machine has to be done as root, so we are talking > Bourne shell. I'd like a simple formula for sending stdout and stderr to a > file when I run make. The man page has me totally confused. In other > words: > > command [some incantation involving 12&> and a filename, possibly with |] > > which lets me see what's going on on the screen and save the same stuff to a > file. > You mean something like: command 2>&1 | tee filename -- Erik Trulsson ertr1013@student.csd.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message