You’re already closer to using Linux by doing so. Lots of people are unaware that macOS continues to be Certified UNIX. Lots of the command line tools function very similarly to their Linux counterparts.
This is actually why I use macOS at work - I wasn’t able to get a Linux box approved by IT but they happily support macOS and I get to use basically all the same software I do on Linux.
You’re already closer to using Linux by doing so. Lots of people are unaware that macOS continues to be Certified UNIX. Lots of the command line tools function very similarly to their Linux counterparts.
This is actually why I use macOS at work - I wasn’t able to get a Linux box approved by IT but they happily support macOS and I get to use basically all the same software I do on Linux.