Multi-Dimensional Arrays in Bash

Bash does not support multi-dimensional arrays, but there is a way to imitate this functionality, if you absolutely have to. As a quick example, here's...

Asciinema Notes

Asciinema is an awesome tool for recording your console sessions. It's great for documenting processes and, in general, showing people how shit works: one...

File Compression Testing

For some reason I haven't used zip much on Linux, sticking to the standard tar/gzip combo. But zip seems to be a viable alternative....

Measure DNS Server Performance

This is not an entirely proper way to benchmark a DNS server, but, in a pinch, it should give you some idea of its...

The Facebook Fracas

The Facebook privacy saga is getting ridiculous. You’re using a free service that you signed up for - nobody was holding a gun to...

Killing Process Network Access

Imagine this scenario: a particular process on your server is connecting to a host outside your internal network and you don't like that. On...

Generating and Running Multiple Scripts

Admittedly, this has a limited range of practical applications and is more of a scripting exercise. The command shown here generates a bunch of...

Removing Chef Server Installation

Just a quick note on how to completely remove (more or less) Chef server installation from a CentOS/RHEL box. There are a bunch of bits...

Installing t CLI power tool for Twitter

The 't' is an excellent Ruby-based CLI utility for interacting with the Twitter API written by Erik Berlin. This is certainly not the only...