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

Andrew MacIntyre andymac at bullseye.apana.org.au
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 bullseye.apana.org.au  | Snail: PO Box 370
        andymac at pcug.org.au            |        Belconnen  ACT  2616
Web:    http://www.andymac.org/        |        Australia





More information about the Python-list mailing list