The program you are looking for is called "tee".

Hoyt wrote:
> 
> There is a way to start a program that redirects the error messages to a
> text file. I' ve used it several times to debug X, but I always have to look
> it up. Couldn't it be put into a shell script called, for example, errlog,
> and then given the program name as the argument and have the text file
> written to /tmp as programnane.errlog ?
> 
> A small utility such as this would go a long way toward aiding newbies in
> diagnosing problems.
> 
> Hoyt

-- 
*********************************

Tell me and I may forget,
Show me and I may remember,
Involve me and I will understand.

*********************************

Reply via email to