I've been a Unix geek for a while now, and I've written a number of tools over time. As I write things I think will be interesting or useful to anyone but me, I'll put them here... for free, as my Unix cult membership requires.
I used to write a lot in Perl. I'm now officially a Perl Apostate, and do everything new in Python. I also have a growing collection of Scheme libraries and scripts (using the Chicken implementation).
BOLD=`dtcommand foreground blue`and put the variable
$BOLDin your prompt string, and voilá your prompt is blue. Just remember to put a
$PLAINat the end of the prompt.
cat(1)which looks at each line. If it finds something which looks like an IP address, it attempts to do a name lookup on it. Currently it keeps a hash of resolved addresses in core to speed up lookup times. Added: 01Oct98.
nfsstatfrom the comfort of your Python interpreter without forking! Updated: 13mar2001.
March 2015: An updated version of this is available in PyPI now, period 0.6. You should use that version
This is a Python library which allows you to specify complex time
periods, things like
you have specified a time period, you can check to see if some time is
within that time period . By default, it checks against the current
computer time. Can also try to determine if a day is a holiday. Last
updated on 2jan2002.