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.
 In case of ftp, i can disable these prompts using -n -i options.
 So here Doc for ftp will look like:
ftp -n -i ipadd <<EOF
user xx paswd
mget *
bye
EOF
 Is there a way in shell script to give the input to login prompt.
Like in java, we can specify that wait for the promt for x secs , then
specify the input.
In solaris, is this possible using shell scirpt. If not, how to disable the
prompts.
 Thanks in advance
DC.
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to