Iptables Block Outgoing Traffic

We need to give one of our customers to an internal server, for this we've enabled remote SSH access. Even though we trust them...

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...

File Roller and 7zip

I recently needed to extract a file with the new, popular 7zip compression, which Ubuntu's File Roller doesn't support out of the box. Enabling...

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...

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...

Keeping Linux Users In A MySQL Database With libpam-mysql On Ubuntu

I want to have a set of users on my Ubuntu 10.4 Lucid Lynx box managed by MySQL, rather than LDAP for a change...
Enable Linux Core Dumps

Enable Linux Core Dump

One of our applications (Freeswitch) just randomly crashed for no apparent reason and didn't write anything to it's log files. The service we're...

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...
sudo: sorry, you must have a tty to run sudo

sudo: sorry, you must have a tty to run sudo

We're using an old version of Upstart, on Centos, to manage stopping and starting our Node.js daemons, and one of the things the...

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...

Instagram