From: foo on
... | tee /dev/stderr | tee /path/to/log_file ?


From: Janis Papanagnou on
On 30/07/10 17:32, foo wrote:
> ... | tee /dev/stderr | tee /path/to/log_file ?
>
>

pty
From: Icarus Sparry on
On Fri, 30 Jul 2010 18:23:33 +0200, Janis Papanagnou wrote:

> On 30/07/10 17:32, foo wrote:
>> ... | tee /dev/stderr | tee /path/to/log_file ?
>>
>>
>>
> pty

pty is very very good.

A simpler answer in this case might be multitee.

.... | multitee 0-1,2,3 3>/path/to/log_file

It might even be the case that the OP's 'tee' command would work

.... | tee /dev/stderr /path/to/log_file

(I am guessing that the OP would be actually running
... | tee /dev/stderr | tee /path/to/log_file | something
as otherwise they will be getting two copies of the output of ..., one on
stderr and one on stdout)
From: bardy on
Or simply:

cmd 2>/dev/null | tee /dev/stderr > file.log