I gotta say, all those Unices fucking sucked. The userland tools were abysmal, with missing flags or bugs in their getopts, the compilers and their sockets libraries were extremely finicky, and their man pages were anemic.
GNU/Linux won because if something sucked, somebody somewhere would fix it. By the early 2000s, and especially after Linux 2.6, it was obvious closed-source UNIX was both worse and overpriced.
Even now it seems like the best part of the closed source MacOS Unix stack is the open source homebrew/macports stuff.