Can I get the CPU temperature and fan speed from the command line in OS X?
The iStats ruby gem lets you see the CPU temperature via the command-line.
Installation
$ gem install iStats
Usage
$ istats all