leslie has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks,
I have tried to execute this below command inside the perl script by using backtick (``) operator.
my $cmd = "ssh -x -i ~/.ssh/bkp <server name> mminfo -q \"savet +ime>3/1/12,name=DISASTER_RECOVERY:\\\\\" -av -ot -r client >/home/rbr +/clnts"; `$cmd`;
But while executing it I have faced this below error,
bash: 3/1/12,name=DISASTER_RECOVERY: -av: No such file or directory
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Command Executing problem in perl.
by McA (Priest) on Jun 27, 2012 at 08:57 UTC | |
by leslie (Pilgrim) on Jun 27, 2012 at 09:14 UTC | |
by Anonymous Monk on Jun 27, 2012 at 09:32 UTC | |
|
Re: Command Executing problem in perl.
by mantager (Sexton) on Jun 27, 2012 at 12:57 UTC | |
by leslie (Pilgrim) on Jun 28, 2012 at 04:34 UTC | |
by mantager (Sexton) on Jun 28, 2012 at 07:15 UTC | |
|
Re: Command Executing problem in perl.
by pvaldes (Chaplain) on Jun 27, 2012 at 16:20 UTC |