This is another of my placeholders for reference.
I’ve got a FreeBSD system which is lacking some of the tools which I’ve gotten used to having, whether from Linux or Solaris.
I’ll often use the GNU tool seq to iterate through things on the command line… for example, if I’m going to ping 192.168.1.20-40, I might, at my bash prompt,
for i in `seq 20 40`; do ping 192.168.1.${i}; done
Quite handy, though FreeBSD doesn’t have it, and I haven’t installed whatever port contains it.
So… I’ll use jot, now that I’ve once again looked up what it is and how it works.
The equivalent line to that above?
for i in `jot 21 20`; do ping 192.168.1.${i}; done
September 24th, 2007
Golly gee, in the few minutes since I decided to create a reference category, I had to find a reference to a Sun blueprints document I’ve referred to a few different times for work — including today. Time to make the blog a little more useful for everyday work, too…
The short version, in Sun’s words on page 3:
We recommend you follow this basic rule:
Do not partition unless there is a compelling reason to do so.
Here’s the Sun Blueprints document Configuring Boot Disks With Solaris™ Volume Manager Software
September 18th, 2007
I’ve added a Reference category here on the ol’ blog to place links to things I may want to go back to.
Someone asked on IRC how to dedupe a list of things in Excel, and the process isn’t as intuitive as can be, so I thought I’d drop a quick post on here. Interestingly, there were a few commercial products trying to tout the same feature when I searched.
Here’s the Microsoft Office Online article entitled Delete duplicate rows from a list in Excel.
September 18th, 2007