This is a technique to replace a string in a file or a number of files using Perl.
perl -pi -e ‘s/old_string/new_string/g’ file_pattern
This is a technique to replace a string in a file or a number of files using Perl.
perl -pi -e ‘s/old_string/new_string/g’ file_pattern
If you are getting this error, you will need to install NET::SNMP Perl CPAN module.
The easiest way to install the NET::SNMP module is to by the CPAN CLI interface.
# perl -MCPAN -e shell
Terminal does not support AddHistory.cpan shell — CPAN exploration and modules installation (v1.7602)
ReadLine support available (try ‘install Bundle::CPAN’)cpan> install Net::SNMP
If you experienced this problem, it is related to Vista’s AutoTuning Feature.
To disable the Auto Tuning Feature, type the following command under Administrator
netsh interface tcp set global autotuninglevel=disabled
To re-enable Auto Tuning, type the following command
netsh interface tcp set global autotuninglevel=normal