Paul wrote:

>>Hello!
>>
>>I want to write a script that makes telnet to log in and send some commands
>>
>>How do I do?
>>
> 
> Hi Magnus,
> 
> I think redirecting would work:
> 
> your script could be
> 
> open your-host-name-here
> command1
> command2
> command3
> exit
> 
> and then you simply do
> 
> telnet < scriptname
> 
> I can't check the validity here, but I do the same with FTP.
> Paul
> 
> 
> 

Why not just use rsh? This is what it's made to do.


Ric



Reply via email to