how to capture text output during program?
John Gordon
gordon at osiris.cso.uiuc.edu
Sat May 25 06:24:45 AEST 1991
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.
>This would be equivalent to the MSdos Cntrl Print command which automatically
>captures what ever comes across the screen and dumps it to the printer. In
>this unix case, i would like to save it too a file instead.
>Any tips would be greatly appreciated.
Check out the "script" command.
John
More information about the Comp.unix.questions
mailing list