> My advice? Learn ssh, and use it to connect to a real Linux box. That's how 90% of sysadmins do their work, it's how you should do it too.
Docker and Virtualbox can help here as well.
It's also worth noting that Homebrew provides all the standard GNU versions of pretty much any CLI tool you'd want.
Speaking of Homebrew, it's a great introduction to package managers, specifically because it's "low stakes" (you can't easily break your system), is easy to write your own packages for, and has everything under the sun in its repos.
Docker and Virtualbox can help here as well.
It's also worth noting that Homebrew provides all the standard GNU versions of pretty much any CLI tool you'd want.
Speaking of Homebrew, it's a great introduction to package managers, specifically because it's "low stakes" (you can't easily break your system), is easy to write your own packages for, and has everything under the sun in its repos.