Macs run Unix under the hood, even being fully POSIX compliant iirc. So yeah they did come a long way from the old days.
Meanwhile Linux shifted to some other system stuff that people seem to hate, so the two platforms are much closer to one another in most respects.
... except the price of hardware, ofc! ๐