Linux Hints

Make a bash script detect the directory it's stored in, to access data there

You may need to write a bash shell script that accesses data stored alongside the script, while your current working directory might be elsewhere. In my case the shell script needed to use Node.js scripts stored next to the shell scripts -- the shell script acting to simplify running the Node.js scripts. The "data" to be accessed in this case is the Node.js scripts, plus the support modules required to run them. You may have other data like a list of hostnames or who-knows-what.

The basic outline is

Installing Fedora Core 10 on Virtualbox

VirtualBox is a family of powerful x86 virtualization products for enterprise as well as home use. This posting is a look into the steps to install the modern Fedora inside VirtualBox, using Mac OS X as the host in case that matters.

The basic installation steps are very straightforward. The basic steps are to

Xen on Intel Mac Mini

A brief guide to installing Xen on a Mac Mini