OSX isn't really BSD based anymore. It's still Unix but most of the BSD parts have over time been replaced. But yes, most of the Linux commands are available. As much as I hate Apple, OSX is still kind of awesome...
Wanted to say that a Mac is not a Mac anymore... no motorola cpu, no specific OS... It's a beautiful PC with a beautiful Linux like on it and with a beautiful price too :D