🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1662

Re: Output redirection

#1662
From: Rouben Rostamian
Date: Mon, 29 Oct 1990 06:44
11 lines
773 bytes
In article <1990Oct27.003901.3533@aplcen.apl.jhu.edu> ejmag@aplcen (Eric Magnusson) writes:
 >I recently saw a unix command which will redirect stdout both to a file
 >and the screen.  Can any body refresh my memory as to what it is?

Look up the man page for tee(1).

Example of usage:

        echo Hello World | tee filename

--
Technical Details
Message-ID: <4272@umbc3.UMBC.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!umich!uunet!tut.cis.ohio-state.edu!purdue!haven!umbc3!math9.math.umbc.edu!rouben
References: <1990Oct27.003901.3533@aplcen.apl.jhu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!umich!uunet!tut.cis.ohio-state.edu!purdue!haven!umbc3!math9.math.umbc.edu!rouben
From: rouben@math9.math.umbc.edu (Rouben Rostamian)
Newsgroups: comp.unix.shell
Subject: Re: Output redirection
Message-ID: <4272@umbc3.UMBC.EDU>
Date: 29 Oct 90 06:44:24 GMT
References: <1990Oct27.003901.3533@aplcen.apl.jhu.edu>
Sender: newspost@umbc3.UMBC.EDU
Distribution: usa
Lines: 11