How to perform an Internet speedtest using the command line in Ubuntu.

A network speedtest is a good way to get a picture of how fast your Internet connection really is. To perform a speedtest in Ubuntu, first install pip using this command. sudo apt-get install python-pip Then install speedtest-cli. homer@ubuntu:~$ sudo pip install speedtest-cli Downloading/unpacking speedtest-cli Downloading speedtest-cli-0.3.1.tar.gz Running (path:/tmp/pip_build_root/speedtest-cli/ egg_info for package speedtest-cli Installing […]

Basic text filtering with sed. Very useful when you are manipulating text files.

This example uses sed to replace the beginning word of a sentence. Administrator@WIN-EM8GK0ROU41 ~ $ echo “this is a line of text.” | sed “s/this/This/gi;” This is a line of text. This is a better way to capitalize the first letter of every word in the sentence. I found this tip here. Administrator@WIN-EM8GK0ROU41 ~ $ […]

CDE desktop running on Ubuntu 14.04.

I have got the CDE desktop to compile on Ubuntu 14.04. I found this website:, which in turn lead me here:, a WIKI which contains the build instructions for Ubuntu 14.04. I followed this guide and the build worked perfectly. This is very cool indeed. The performance of the CDE desktop is very […]

The best tutorial I found to install FreePBX on Ubuntu 14.04 LTS server.

This is the best tutorial I have found that allowed me to install FreePBX on an Ubuntu 14.04 instance on an Amazon AWS instance. I tried a few and this one really did work for me after following all of the steps and exercising patience. FreePBX is a very useful tool for setting up […]

How to print out a list of all BBC news headlines with the command line. This is very cool.

This simple one-liner will print out all of the news headlines from the BBC news website in a simple text format. This is useful if you want to do something with a list like this. Or if you just want a listing to see if there is anything interesting happening. curl | grep “<title>” […]

How to format a partition on Linux using the mkfs command.

The formatting of a hard disk partition on Linux is not very difficult if you use the right command. The mkfs command is used on Linux for this task; I will be showing a simple example of its usage here to make it clear how this is done. This is a simple example; I am […]

Some miscellaneous Linux tips for Ubuntu and Linux Mint users.

If you are starting Firefox from a terminal window where you have specified the proxy settings, and you have the use system proxy settings option ticked, you will not need to set the proxy within Firefox. That is a very cool tip indeed. If you need to set the proxy before using apt, you will […]

How to connect to a Windows machine using RDP from a Linux machine using bash.

The rdesktop utility for Linux allows easy remote desktop access from a Linux machine. Type: sudo apt-get install rdesktop to install this useful utility and then type: rdesktop to connect to a remote machine. Specify the username with the -u parameter: rdesktop -u homer If you wish to use RDP in full-screen; enabling […]

Configuring private Internet access with OpenVPN on Linux Mint.

Private Internet Access with OpenVPN.

Some very useful networking tricks for Linux users.

Get your gateway IP address with curl on the command line. [homer@localhost ~]$ echo $(curl -# ######################################################################## 100.0% Another way to list the IP addresses of your network interfaces. Using the ip command. [homer@localhost ~]$ ip a | grep inet* inet scope host lo inet6 ::1/128 scope host inet brd […]

The ss command. A very useful way to find open and listening ports on a Linux system.

The ss command for Linux allows a user to list all listening ports on a Linux system. This command lists all listening TCP ports. homer@deusexmachina ~ $ ss -l -t State Recv-Q Send-Q Local Address:Port Peer Address:Port LISTEN 0 1 *:* LISTEN 0 50 *:netbios-ssn *:* LISTEN 0 128 *:sunrpc *:* LISTEN 0 128 […]

Useful networking commands for listing open ports and listening services.

To print a list of all open ports and established TCP connections, type this command. homer@deusexmachina /etc/asterisk $ netstat -vatn Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0* LISTEN tcp 0 0* LISTEN tcp 0 0* LISTEN tcp 0 0 […]

A useful script for gaining information about your Ethernet adapter.

This useful shell script will print information about your Ethernet or Wireless adapter. This is very useful for getting a lot of information at once. #!/bin/sh DEV=”eno16777736″ echo “Showing information for the active network interface: $DEV.” echo -e “-*- \e[1mGet timestamping information for your Ethernet device.\e[0m -*-" echo ethtool -T $DEV echo -e "-*- \e[1mPrinting […]

Australian government considering draconian anti-terrorism data retention laws.

The Australian government is planning to bring in tough new laws to combat home-grown terrorism. This involves Internet Service providers being forced to hold customer data for two years. Prime Minister Tony Abbots new National Security Committee has signed off on the roll-out of controversial mandatory data retention laws which spy agencies claim are “critical” […]

How to open an RDP connection to Windows from Linux using the remote desktop utility for Gnome.

Opening a Remote Desktop connection from Linux to Windows is very easy when you are using the Remote Desktop utility for the Gnome 3 desktop. This is a very easy RDP application for Linux. Below I am entering the details for a new connection. Just go to Applications->Internet-Remote Desktop Viewer to open this useful utility. […]