You can't use telnet that way. Why do you need to do this? Do you need to run a command on the remote machine? If so, have a look at the rsh threads in the General Unix Discussion/Solaris forums.
There's another way to communicate between the server and the client.
You can use socket communication with perl, and if you want to execute something, you can combine it with Shell script.
But I still have a problem with executing from shell script. Somehow it keeps gave me memory fault (core dump) when I tried to call C program from shell script.
Could anyone tell me how to run C program including pass the variables from Perl?
Thanks.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.