How to telnet to other unix machines and grep log files etc?

Andrew MacIntyre andymac at
Thu Jul 26 07:23:48 EDT 2001

On 25 Jul 2001, Chris wrote:

> Relative unix newbie.  Would like to write a python script to do what
> I do manually--telnet to two different unix machines from a third unix
> machine.  Grep through some log files, gather the grep results from
> the different machines and spit them out.  I think I need to do
> something with popen, or popen2, or ???  I don't know where to start.

telnetlib (standard library module)?

Andrew I MacIntyre                     "These thoughts are mine alone..."
E-mail: andymac at  | Snail: PO Box 370
        andymac at            |        Belconnen  ACT  2616
Web:        |        Australia

More information about the Python-list mailing list