verbose output to terminal from within shell script?

Gabriel Gunderson gabe at
Fri Feb 3 02:04:46 MST 2006

Andrew McNabb wrote:
> On Fri, Feb 03, 2006 at 01:20:00AM -0700, Gabriel Gunderson wrote:
>> [gabe at office ~]$ echo "I smell a hack" | tee /dev/pts/0
>> I smell a hack
>> I smell a hack
> I think "/dev/tty" always points to your own terminal.  Is that
> correct?

Seems to be correct.  How can that be the current terminal for everyone 
on the system?  It's not immediately obvious to me how it does that. 
I'll give myself a break - It is 2:00am.


More information about the PLUG mailing list