Tag Archives: unix

Apple to Unix – You are my Rock Solid Foundation

There are not many technology enterprises in the commercial domain who speak openly about the underlying architecture. They may tout their cool new features (which they unabashedly picked from a competitor), but will rarely give credit to the technologies that make them great. Apple however, not only praises its own design and architecture (yeah!) but also gives due credit to Unix as part of what it calls its “rock solid foundation”.

As the Apple website explains about its current Mac OS X (version) Leopard:

Leopard is an Open Brand UNIX 03 Registered Product, conforming to the SUSv3 and POSIX 1003.1 specifications for the C API, Shell Utilities, and Threads. Since Leopard can compile and run all your existing UNIX code, you can deploy it in environments that demand full conformance — complete with hooks to maintain compatibility with existing software.


Almost all Linux/Unix users know this but for those not initiated (about Apple), there is a reason for us to love Macs as much as we love our Linux. Both are close relatives sharing the same gene pool. Already, all open source applications are easily ported to Mac and can run off any Apple computer. So when you buy your next computer, consider Apple not just for its looks but give due credence to its “rock solid foundations”.

Share Button

A Peculiar Time

Did you know that all Unix and Linux machines calculate their time and date from January 1, 1970. And did you know on February 13, 2009, the time in seconds will be precisely “1234567890”. This has to be one of those coincidences.

So if you have access to a Unix/Linux machine anywhere (at school, at work, at home where ever), just type the following on a shell prompt.

date +%s

and it will show you the time in seconds since 1970.

In case if you plan to capture the exact moment when the clock strikes 1234567890 then write the following shell script on the command line and execute it.

while true
do
echo “Time since Jan 1, 1970 in seconds is “
date +%s
sleep 1
done

What this will do is print the time in seconds every second and you can view it on your favorite terminal. Try it now to see how many seconds are left to that crucial time.

Share Button