So I generally do some logging of activities in many of my scripts. But for some I want a little more detail. I'm looking for an efficient way to add date and time stamps on each entry. "Efficient" is ...
In a previous article, we started a script that worked backward from a day and month date and figured out the most recent year—including possibly the current year—that would match that date occurring ...
Many UNIX commands (for example, last) and log files show brain-dead date strings, such as “Thu Feb 24”. Does anybody out there have a script that will convert that to a year, given a five-year ...
Okay, I feel vaguely idiotic for posting this since it's the sort of thing I really ought to know, but humor me.<BR><BR>I need a shell script to run whenever a certain Mac reboots. (It's running OS X ...