The stupid question is the question not asked | |
PerlMonks |
Re^3: back tick to do sshby kirillm (Friar) |
on Dec 31, 2007 at 00:47 UTC ( [id://659678]=note: print w/replies, xml ) | Need Help?? |
Hi convenientstore, Enclose the command you want to be executed on the remote host in quotes, like this:
This way echo something | /bin/others will be run on host1 and the result will end up in $result.
In Section
Seekers of Perl Wisdom
|
|