Latest Articles

An image of a cup of coffee at keyboard

Mount external drive in cron job


The Problem: You have a bash script that will backup your home directory to an external usb drive. You have that script set to run from your crontab. The cron job runs successfully if you are logged in and have mounted the external usb drive, otherwise it...Read full article

Linux Tools - SED


Episode two of the Linux Tools series. Another must-have for your linux toolbox is sed, which stands for stream editor, and is pronounced like the english word "said". To really wield this tool like a pro, it's helpful to already have a good un...Read full article

PHP web app event logger


This is a simple event logger that can be attached to pretty much any php/mysql web application. I'm going to split this topic into two separate articles - the first will show the code for writing the events to the database, and the second will show th...Read full article

Linux Tools - vimdiff


Welcome to episode one of the Linux Tools series. This article is about vimdiff - which I consider one of the essential and important tools that should be in every Linux admin's toolbox. I frequently find myself connected to some webserver via ssh to m...Read full article