Actually we should consider Windows on the discussion, because if Microsoft had not been as precious of their Win32, and actually offered a proper POSIX subsystem on Windows NT, or never had given up on Xenix, neither BSD nor Linux would have matter as much as they do nowadays.
On my specific case, looking into either of them was only due to the Windows NT at home now being enough to reproduce the work assignments that needed to be delivered on the DG/UX and Solaris servers on the university labs.