Despite its air of point-and-click friendliness, and Apple’s tendency to precede its own applications with the letter ‘i’, its OS X operating system is actually a lot like Linux.
Both OS X and Linux have a similar system at their core, based on an old-school multi-user operating system called UNIX, and many of the tools and utilities that make OS X useful are the same as those you’ll find within Linux.