More fun with the terminal.

Monday, March 5th, 2007

One of the joys of Mac OS X is that there’s this hugely powerful UNIX-based operating system lurking beneath the fancy GUI.

Came across this timely tidbit (here) today:

Want to see on which days your computer is planning to switch to daylight savings time and back in 2007?

Put this in your terminal window:

zdump -v US/Eastern | grep 2007

or for those in the pacific time zone:

zdump -v US/Pacific | grep 2007

…and if you’ve been updating your system regularly, your Mac should be hip to the fact that Daylight Savings Time changes this year earlier—on March 11th.

want to find out what the ‘zdump’ command does? Call up the UNIX ‘man’ (for ‘manual’) page:

man zdump

…which of course works for any UNIX command. I should probably post more of my accumulated terminal fun, because, you know, it’s fun.