how to capture text output during program?

toney cassel zebr361 at ut-emx.uucp
Sat May 25 15:03:41 AEST 1991


In article <9105241726.AA16913@?lri.uwo.ca> steckner at lri.uwo.ca (Michael Steckner) writes:
>I was wondering if there is a simple way for me to capture the output
>to the screen generated while I run a program which also requires
>periodic user input. Use of redirects is easy, if you dont also
>have to answer any questions the program might having during execution.

command | tee filename    will send the output to both the screen and filename.

Toney Cassel   St. Edward's University   Academic Computer Lab   Good Day.



More information about the Comp.unix.questions mailing list