Archive for May, 2008

IPv6 rDNS Zones

Wednesday, May 28th, 2008

Creating IPv6 rDNS zone files by hands sucks. I’ve seen one tool to do it (plus dhcp configs and forward zones) and references to another that seems to be gone from the net. The one I found is not well suited for my needs though. Is there something awesome I just haven’t found yet?

I guess I should stop being lazy and just write the tool. Maybe even serve it up via the web for others in my situation. Hmmm….

Most Awesome Command Ever - timeout

Tuesday, May 27th, 2008

I have a Debian Sid box that I’d been putting off updating for a while so finally got around to doing it tonight. I took the opportunity to do a bit of spring cleaning and purge old packages I installed to play with and forgot to purge or removed instead of purging. While doing this I discovered an interestingly named package, timeout.

timeout is a dead simple command, everything you need to know about it you can get from the usage information:

[michael@orion(~)] timeout
usage: timeout [-signal] time command…

And an example:

[michael@orion(~)] timeout 5 cat
Timeout: aborting command “cat” with signal 9
Killed
[michael@orion(~)]

How did I not know about this before?!?