phemal has asked for the wisdom of the Perl Monks concerning the following question:
i get the output on the screen but not in the variable Can anyone help me with this.... Thanks$cmd ="snmpset -v3 -a MD5 -A auth_Key_1492514201 -x DES -X encr_Key_10 +0265 -u myUser252094357 -l authPriv 172.16.232.53:8500 1.3.6.1.4.1.89 +62.2.1.2.1.10.7.1.20.2 i 2"; $x= system "$cmd"; or $x =`$cmd`;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: getting the output of command in variable
by graff (Chancellor) on Feb 01, 2007 at 13:49 UTC | |
|
Re: getting the output of command in variable
by grinder (Bishop) on Feb 01, 2007 at 13:52 UTC | |
|
Re: getting the output of command in variable
by roboticus (Chancellor) on Feb 01, 2007 at 13:41 UTC | |
|
Re: getting the output of command in variable
by rkrieger (Friar) on Feb 01, 2007 at 14:13 UTC | |
|
Re: getting the output of command in variable
by zentara (Cardinal) on Feb 01, 2007 at 17:27 UTC |