Unix administration - Opposite to "tee" command"?

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > February 2004 > Opposite to "tee" command"?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Opposite to "tee" command"?
AleX

2004-02-03, 8:34 pm

Hello gurus,

Using "tee" command I can duplicate standard output to any tty.
But is there a way to duplicate output from certain tty on e.g. my
telnet screen?
The problem is that some datum output on V24 (/dev/scc0a) - to check
and log it
it is necessary to bring PC there and connect it instead of
TTY.Sometimes it needs a lot of time and efforts.
Is it possible to avoid moving PC?

thanks in advance
Bill Marcum

2004-02-04, 3:39 am

On 4 Feb 2004 01:14:49 -0800, AleX
<platoff@yandex.ru> wrote:
quote:

> Hello gurus,
>
> Using "tee" command I can duplicate standard output to any tty.
> But is there a way to duplicate output from certain tty on e.g. my
> telnet screen?
> The problem is that some datum output on V24 (/dev/scc0a) - to check
> and log it
> it is necessary to bring PC there and connect it instead of
> TTY.Sometimes it needs a lot of time and efforts.
> Is it possible to avoid moving PC?
>
> thanks in advance



If you can't modify the program that outputs to /dev/scc0a (that would be
a stupid program!), you might make /dev/scc0a into a symbolic link or a
named pipe.

--
O, it is excellent
To have a giant's strength; but it is tyrannous
To use it like a giant.
-- Shakespeare, "Measure for Measure", II, 2
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com