Blog Archives

How to find location where Perl Module is installed

I often peek into Perl Module source code to add debugging logs, or to find or narrow down problems. and have to spend sometime always to find where that module is installed. Following script was implemented to save me sometime:

Posted in Linux, Perl, Programming

Installing Net::SSH2 on Cent OS

We have struggled with this too, so will share the minimum steps needed to setup Net::SSH2 lib on Cent OS: Install pre-requisite libs: sudo yum install libgcrypt-devel sudo yum install zlib-devel Download libssh2 source code from here. Untar and cd to the

Posted in Linux, Perl

Specify output file using wget

wget can be used to download file from any server. However everytime you execute the command, it saves the copy of file instead of replacing the file if already exists. wget provides a flag that can be used to download the

Posted in Linux