Unix script using telnet

hi,

I would like to write a unix scribt (sh or bash) to telnet to a network equipments and authenticate and do some commands and log the output of these commands to a file.
any help please. thanks
omarsAsked:
Who is Participating?
 
InsolenceConnect With a Mentor Commented:
Check this out... it's a tool to help make an automatic telnet script, and you can redirect the output to a local file!  Sounds like just what you need!

http://expect.nist.gov/

 - Insolence
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.