From owner-freebsd-questions Fri Oct 18 12:35:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7DDD37B401 for ; Fri, 18 Oct 2002 12:35:32 -0700 (PDT) Received: from foem.leiden.webweaving.org (fia224-72.dsl.hccnet.nl [62.251.72.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D9FE43EAC for ; Fri, 18 Oct 2002 12:35:28 -0700 (PDT) (envelope-from dirkx@webweaving.org) Received: from foem (foem [10.11.0.2]) by foem.leiden.webweaving.org (8.12.6/8.12.6) with ESMTP id g9IJZLv7006973 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 18 Oct 2002 21:35:21 +0200 (CEST) (envelope-from dirkx@webweaving.org) Date: Fri, 18 Oct 2002 21:35:21 +0200 (CEST) From: Dirk-Willem van Gulik X-X-Sender: dirkx@foem.leiden.webweaving.org To: David Smithson Cc: questions@FreeBSD.ORG Subject: Re: question: sending to stdout AND file In-Reply-To: <014101c276dd$4681b1f0$0801a8c0@customfilmeffects.com> Message-ID: <20021018213449.F55920-100000@foem.leiden.webweaving.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > How do I redirect output to a file *and* stdout simultaneously. My > particular want is to view the output of a script while also logging the > output to a text file. Check out tee(1), man tee Dw. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message