Use grep And sed To Search And Replace Text, But Beware Git

I recently needed to search and replace some text in a large number of PHP scripts. Back in my Windows days I had a lightweight freeware programme that was perfect for the job. But what to do on Linux? The answer was to combine grep and sed. But don’t forget to watch out for Git!

Taking SSH Off Port 22

It’s arguably a good idea to move your SSH listener off port 22. This is a quick and easy way to reduce hacking attempts and one of the first things you can do to further secure your server.

List the Top IPs Hitting Your Website

Use come command-line fu to analyse your website log in real-time and find out which IP addresses are making the most requests.

Installing Node.js v.4 with APT on Ubuntu 14.04

Node.js is an increasingly-popular JavaScript runtime that can be used to build server-side applications. Installing Node on Ububtu 14.04 via APT isn’t quite as straightforward as it could be, as the version in the default repositories is 0.10.25, dating back to early 2014.