🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.shell
3 messages
3 total messages Started by Eric Magnusson Sat, 27 Oct 1990 00:39
Output redirection
#1659
Author: Eric Magnusson
Date: Sat, 27 Oct 1990 00:39
7 lines
621 bytes
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?

Thank You
-- 
Eric Magnusson
ejmag@aplcen.apl.jhu.edu
Re: Output redirection
#1661
Author: Jonathan I. Kamens
Date: Mon, 29 Oct 1990 06:27
15 lines
1200 bytes
In article <1990Oct27.003901.3533@aplcen.apl.jhu.edu>, ejmag@aplcen.apl.jhu.edu (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?

  tee.

  Don't you have anybody at your site you can ask questions like this before
you send them out to the entire country?  Isn't there *anyone* else at your
site using Unix that would know the answer to a question like this?

-- 
Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik@Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8085			      Home: 617-782-0710
Re: Output redirection
#1662
Author: 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

--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads