Firefox Russian Roulette in Bash

How I pranked a work mate with an evil little while true loop.

Continue reading

Command Not Found Handler to Quickly SSH to Hosts

Wish you could SSH to a host/IP just by typing/pasting it? This command not found handler will let you SSH without typing ssh!

Continue reading

Dereferencing BASH Variables

This is a handy way of iterating over variable names and their values in BASH by way of variable dereferencing.

Continue reading

Tracing Variables in Shell Scripts

Sometimes you need a little more detail when debugging a bash script than bash -x alone will give you. The following modifies PS4 to contain the line number of each line of output.

Continue reading