Another possible solution is the perl Telnet package, which will allow you
to automate login/password and execute a command.
But that requires a little Perl knowledge. :)
D
At 11:24 AM 6/22/98 -0400, you wrote:
>Try "expect".
>
> __________________________________________________________________________
>| Bryan Swann ([EMAIL PROTECTED]) 803/566-0086 803/554-0015 (Fax) |
>| Eagan McAllister Associates, Inc. |
>| |
>| "Everything must be working perfectly, cause I don't smell any smoke" |
> --------------------------------------------------------------------------
>
>On Sat, 20 Jun 1998, GateKeepeR News wrote:
>
>> Hi,
>> Looking for a way to setup a script so I can telnet into a certain port
>> on my box, it would prompt for a username, I would type a user and press
>> enter, then it would prompt for a message, i would type it and press
>> enter. Then it would take that and maybe use the write command to write
>> it to that user logged into this computer.. Any suggestions? Thanks!
>>
>> Bryan
>>
>>
>> --
>> 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.
>>
>>
>
>
>--
> 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.
>
--
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.