[BASH] Get information about a machine running Mac OS X. Inspired by mjk.

[Python] The difference between "is" and "==" - courtesy of Dan Bader at RealPython.com