Try removing the spaces from "# ! /bin/bash" so it looks like "#!/bin/bash".
Hope this helps,
Blair.
On Thu, May 14, 1998 at 05:14:57PM -0700, GateKeepeR News wrote:
> I have made the following, but it still boots me back out to me shell..
> # ! /bin/bash
> expect << EOcmds
> spawn telnet tel.myhost.net
> expect "ogin:"
> send "mylogin\n"
> expect "word:"
> send "mypass\n"
> interact
> EOcmds
--- end message ---
Blair Craft
[EMAIL PROTECTED]
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.