What does a Linux machine do better than a Mac, if price were not a factor?
You typically have far more configuration levers, as well as deeper customization access. The stack is built entirely from open, accessible source, so you can ultimately customize every single part of it to your exact liking.
For example, KDE has an order of magnitude more levers than the OS X DE.
Not only is most of OS X closed source, it's also not particularly configurable.
It really is BSD, although the window manager isn't open source a lot of the rest is.
I get it if you're trying to avoid the cost of an operating system, but that wasn't what you said or what I asked..