Delete Linux MBR

We run a build system using PXE and Puppet which lets us reliably and quickly set up production and development environments on our servers...

Slow SSH and SCP connections on Ubuntu

My home Ubuntu Jaunty installation often takes a good 40-60 seconds to connect to using SSH, none of the other servers I maintain have...

Error: Could not open command file ‘/var/log/nagios/rw/nagios.cmd’ for update! on RedHat

I'm currently setting up some new clusters under RedHat and each cluster is getting it's own Nagios instance, trying to use the web based...

Creating A Local and HTTP RedHat Yum Repository

We're rolling out a RedHat platform for a major product delivery to a client in the next couple of weeks, which is a great...

Bash Shortcuts

Meta- go to beginning of history file Meta-> -> go to end of history file Meta-f -> go to next word in command line Meta-b -> go...

Burning an XVid to DVD in Ubuntu Jaunty from the command line

I needed to burn an XVid of one of my performances to DVD last night, remotely, as my MythBuntu box was being used by...

New Ubuntu Jaunty Screen

At the moment I'm trying out the beta for Ubuntu Jaunty and one the first thing I noticed was the new version of screen...

Generating Secure Passwords With pwgen

At my current place of employment we have a fairly strict password policy for everything, all passwords must be unique (so no single password...

Changing variables in a BASH while loop

There is an error that I often run in to when working with files and while loops in BASH. Often I have scripts similar...

Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’!

I've been doing a lot of Nagios deployments recently, and this error always bites me, on all Ubuntu versions, including Hardy and Intrepid (haven't...