Best Unix Tricks?
aarongough: One of the little things that it took me a while to find out about:  echo '2^16' | bc
  65536

'bc' is a complete calculator language interpreter that also functions quite nicely as a simple calculator. If you need to do any heavy lifting check out:
http://en.wikipedia.org/wiki/Bc_programming_language