Stupid Unix Tricks - Running A Script On Multiple Servers Concurrently

Posted on Thu 06 August 2015 in Tutorial • Tagged with linux, unix, shellLeave a comment

One of the amazing things about Unix and Linux is that you can get a LOT of work done with the help of a few lines of shell scripting and some simple, well-defined tools. Today I would like to show you a technique that I use on a regular basis ...

Continue reading

GNU Screen Sugar

Posted on Tue 02 August 2011 in Software • Tagged with *Cough*Plug*Cough*, bash, linux, screen, unixLeave a comment

I don’t usually advertise my Github projects on this blog, but I thought that this one might actually be kinda useful to you if you like GNU Screen: - tompurl/Scrugar

Basically, it’s a couple of functions and aliases that I use to make it easier to use Screen ...

Continue reading

\"Here Doc\" Rules When Using SQL Plus

Posted on Tue 11 January 2011 in Tutorial • Tagged with linux, shell-scripting, unixLeave a comment

I've been writing a lot of shell scripts lately, and usually they have included a here doc that invokes Oracle's SQL*Plus program.  Here docs can be very nice, but they can also be fairly flaky. You have to remember a bunch of strange rules when you write ...

Continue reading

New Blog Announcement - Shell Magic

Posted on Sat 05 June 2010 in Tutorial • Tagged with *Cough*Plug*Cough*, command-line, console, linux, shell, shell-magic, unixLeave a comment

I'm excited to say that I am working on a series of screencasts that target Unix command-line newbies. The series is called $hell Magic, and it's my first attempt at making screencasts. It was a lot of fun and surprisingly simple to create my first one. If you ...

Continue reading

Stupid Unix Tricks - Creating A Self-Updating Dashboard

Posted on Wed 17 March 2010 in Tutorial • Tagged with administration, linux, stupid-unix-tricks, tomcat, unixLeave a comment

Have you ever wanted to automatically run the same command every 5, 10, or 60 seconds on a Unix/Linux machine until the output changed? For example, let's say that you're deploying a new application on top of a Tomcat app server. After starting Tomcat and deploying your ...

Continue reading