concurrent telnet output processing

Nils Kassube kassube at gmx.net
Thu Sep 5 05:07:22 UTC 2013


thufir wrote:
> Is it possible to pipe a telnet client so that, concurrently, remote
> output is concurrently logged to a file and displayed on the terminal?

I haven't used telnet for many years, but I think it should work if you 
use something like this:

telnet {whatever args you need} | tee filename.log

or if you need standard output and standard error output you could try 
this:

telnet {whatever args you need} 2>&1 | tee filename.log


Nils





More information about the ubuntu-users mailing list