perl script to execute my a c executable on remote machin
Hello,
I wanted to run my C executable on remote machine. I can do it by using shell scripts but I want to do it by using perl script. Could you please tell me how to write the perl script. I would appreciate if you could tell me the solution. Thanks and Regards, sharad. |
why would you want to do it in perl? the best way is going to be to shell out to system commands anyway, so you'll not benefit from using perl if all you're doing is system called to other programs like ssh.
|
Yeah, bash will the way to do it. Probably this thread will be helpful: http://www.linuxquestions.org/questi...d.php?t=469902
PS: I didnt complete my script. |
How do you do it with a shell script? You could use system() in perl to do the same command
Code:
system("your command here"); Code:
perldoc -f system |
yeah absolutely, but in essence that just sends you back to an extneral program, so might as well stay within bash anyway.
|
Quote:
|
All times are GMT -5. The time now is 07:49 AM. |