You want to check the connection to a server via a telnet test, but terminal does not recognize telnet. Annoying, but not too difficult to solve. I did it through two intermediate steps:
In this blog, I'll take you through a simple step-by-step process. Afterwards, you can then not only run the telnet test, but you may (like me the other day) have a lucky moment about the power of Homebrew.
First, make sure Developer Tools is not already installed. Open Terminal and press
git
followed by enter. If you don't have Developer Tools installed, Terminal automatically gives you a choice to do so.
So now you choose to install. Instead of the usual visual installer, everything now takes place within Terminal, except for a preliminary window. It's a matter of following simple instructions. The install might take 15 minutes, or maybe longer depending on your machine.
To install Homebrew the you can either go to this site, or take the following code and run it in Terminal. Make sure you don't forget to include double quotes at the end. Then check the instructions in Terminal.
For macOS 10.14 and newer:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
For MacOS 10.13 and older:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Here then comes the Homebrew lucky moment. We are going to install something via Homebrew, telnet namely. We're still in Terminal, so here goes:
brew install telnet
From now on, assuming everything went well, you can run the telnet test. If you want to remember how that went, check out this blog. Furthermore, if Homebrew is still new to you, I recommend that you check out what else it is good for.
Hopefully this blog was helpful to you. If you want to learn even more about Alteryx, Tableau or The Information Lab, check out our blog. Need more help or explanation? Don't hesitate to contact us for our workshops and trainings or hire a consultant.