[plug] TTYs

Jason Belcher jason at whatever.iinet.net.au
Fri Oct 26 23:00:05 WST 2001


Bernard wrote:

><snip>
>One option, might be to use 'tee'.... Reads stdin, writes to stdout
>as well as another file.
>
>eg, tty01:
>
>./someprogram | tee /tmp/output.log
>
>on tty05:
>
>tail -f /tmp/output.log
>
Or just redirect it straight to the terminal without using the temp file:
./someprogram | tee /dev/tty5



-- 
Gates' Law: Every 18 months, the speed of software halves.





More information about the plug mailing list