No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Is there a command in Perl that will strip off the last element in an array and replace it with a constant value? |
|
In unix there is a -p tag for the mkdir command. Is there a similar tag in Perl? |
|
I am reading from a text file with two columns. The first column contains the name of a device, and the second column contains the IP address for this device. how do i get the name and address and assign them to separate variable names? |
|
This is the error message I get, [CODE]Bad value name (165.137.91.130)[/CODE] , and this is the command [CODE]snmpset -v 1 -c satlabRW 172.16.10.245 1.3.6.1.4.1.9.9.96.1.1.1.1.5 ipaddress "165.137.91.130"[/CODE]. Any ideas how to fix it? |
|
If I have a line like this, how do I exclude all other lines that don't contain a number in this format? and how do I input this number into an array? [CODE]-- | |- state (1)^M[/CODE] |
|
I need to write a script that will be able to go down the MIB tree of a device and output the values to either the screen or a .txt file. Any ideas what that would look like, or where I can search for a script to use as a … |
|
|