Archive for September, 2007

Yes

Tuesday, September 11th, 2007

I was talking with one of my Unix administrator friends yesterday that had never heard of /usr/bin/yes before. I have to admit I was a little surprised at first, but when you think about it, /usr/bin/yes is hardly ever used these days. To a younger administrator used to having a -y or -f flag on […]

Moving Up on Mini-Scripting

Monday, September 10th, 2007

After my previous post on ad hoc scripting I had an example come up in my own work. I needed to search through some web logs for all hits in August to three servers from a pair of IP addresses. Below is the actual command line script I used, except I changed some identifying information […]

Scripting From the Command Line

Wednesday, September 5th, 2007

One of the techniques I use to be effective at Unix systems administration is scripting from the command line. If you understand Bourne shell’s for-loops and while statements, it is just one small step from only using them inside scripts to using them on the command line as part of an ad hoc mini-script. It […]