I’m trying to pass arguments to telnet within a shell script, and it doesn’t work. Can anyone help me??? Here is a sample of what I’m doing:
telnet host1 << LABEL1
username
password
command1
command2
exit
LABEL1
with other programs like ftp, ypinit, etc
it's working but not with telnet!!!???
Thanks