Speedtest.net is the de facto internet link speed testing tool out there. Some people might argue that it is not accurate, but it’s still the most popular tool of it’s kind out there.

For us geeky individuals that have only the command line (cli) available to us in Linux but still want to test our link speed to the internet, there is a solution. speedtest-cli

To use, do the following (Tested in Ubuntu)
Step 1: Install GIT (git-core)

user@techedemic:~$ sudo apt-get install git-core

Continue reading

I cannot believe how simple this is, yet I had to google to figure it out (why oh why didn’t I just read the ‘man’ pages). The syntax for executing a remote command is as simple as:

ssh [user]@[remote host] [command]
ssh techedemic@ df -h
techedemic@'s password: 
Filesystem                             Size  Used Avail Use% Mounted on
/dev/mapper/td--VG1-td--LV2            443G   89G  332G  22% /
udev                                   993M  4.0K  993M   1% /dev
tmpfs                                  401M  628K  401M   1% /run
none                                   5.0M     0  5.0M   0% /run/lock
none                                  1002M     0 1002M   0% /run/shm
/dev/sda1                              241M   38M  191M  17% /boot

We all know that browsers change more often than is really necessary. Firefox are pumping out new versions at the speed of light and with every version comes a new set of challenges. While general web browsing is often unaffected, enterprise applications designed for the web more often than not have compatibility issues with the latest and greatest browsers.

The solution – Use the Firefox Extended Support Release (“Firefox ESR” in short) version and you get to use a single version, with only bug-fixes in the updates, for 54 weeks at a time. Unfortunately, the apt repositories don’t have anything you can use to install the ESR version of Firefox (weird, especially on the LTS versions) at this stage.
Continue reading


I tried using SOAP::Lite with Perl recently and kept getting the following error on my server when trying to execute my Perl script:

techedemic@techedemic.com:~/dev/scripts$ ./soap.pl
Can't locate Class/Inspector.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/ hare/perl/5.10.1/SOAP/Lite.pm line 435.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.1/SOAP/Lite.pm line 435.
Compilation failed in require at ./soap.pl line 3.
BEGIN failed--compilation aborted at ./soap.pl line 3.

The solution was quite simple, although finding it on the internet was not as simple.

Just do the following to install the required class:

sudo apt-get install libclass-inspector-perl

Voila, it’s working as expected.

If you are using RHEL or CentOS, you could do the following (I did not test this but found it at this link :

yum install 'perl(Class::Inspector)'

Hope this helps someone out there!


Bash is the default scripting language in most Linux systems. Its usage ranges from an interactive command interpreter to a scripting language for writing complex programs. Debugging facilities are a standard feature of compilers and interpreters, and bash is no different in this regard. In this article, I will explain various techniques and tips for debugging Bash scripts.
Continue reading