I second the suggestion for expect. Nothing, IMHO, comes close to what expect can do for automating task.

Jerry K



[EMAIL PROTECTED] wrote:
In a message dated 10/24/2005 4:39:54 AM Eastern Standard Time, [EMAIL PROTECTED] writes:

Hi  ,
I was trying to automate the telnet session using solaris shell  script
(here document.)
But the problem is telnet gives Login and  Password prompt. How do i automate
these actions.
You need a tool called 'expect'. If I recall correctly, it's on the goodies CD that comes with Solaris. If not, it's easily downloadable. Expect is important enough to merit its own OReilly book. _______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to