There are a lot more OSes then there used to be. And Mac is always getting compared to Linux. So here is quick list about differences between Mac and Linux. Now before reading this, just keep in mind this is a really quick basic list. I may make one later on that is more technical but for now this should do.
1.) Mac OS is based on a BSD code base, while Linux is an independent development of a UNIX-like system. This means that these systems are similar, but not binary compatible.
2.) The Macintosh is a whole computing platform while Linux is just an operating system
3.) The Macintosh is commonly used for desktop systems while Linux is very versatile and can be used on almost any application
4.) The modern MacOS (OS X) system is a descendent of NeXTStep which itself descended from the BSD variants of Unix.
5.) Linux, a “clone” of UNIX that is free to use, has the power of UNIX and is licensed using the GNU license.
Things Linux does better than Mac
1.) Biggest and most obvious one Customizability. Out of all the OS out there linux and most customizable one.
2.) Another obvious one is price. Linux is free, while Mac Os is rather expensive if you think about it. The only way to really get one is to buy a Mac book which cost a few grand, and windows is a couple hundred dollars.
3.) Security, while Mac is a close second. Linux is still the most secure of the all.
4.) Hardware requirements. The hardware requirements are a lot lower for Linux Oses than any other OS
5.) Command line. Mac OS X falls short of being able to use a command line, with linux however you can most things from the command line.
Now that last there is some room for debate, but for the most part its holds true. If you would like to add to this list just comment below.