I need a perl script which remsh to another machine with different login and execute some command. I tried executing a simple perl code, but it does not execute the required command in the remote machine. Here in the remote machine /tmp/1 is empty, it does not output the ls command in /tmp/1
#!/app/perl `/usr/bin/remsh guitar.cc.ux.com << EOF perlguru go4fun ls > /tmp/1 EOF`
In reply to remsh using perl script by RajNaidu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |