MacOS Installation telnet command

Source: Internet
Author: User

In version 10.12 and below, the Telnet command is built in, but in 10.13, it has been canceled.

Next, we'll show you how to install the telnet command.

Open "Terminal" and enter:

/usr/bin/ruby-e "$ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install)"

Then enter the password, all the way to complete the return.

Input after completion: Brew Help

The correct output command prompt completes the installation, then we continue to install the Telnet command

Input: Brew Install Telnet

Wait for completion, and then enter the command test

Telnet toutiao.com 80

As can be seen, has been successfully installed, as to why the headline returned 400, because I only sent a hello,world, not the standard header of the HTTP protocol.

You can also install the wget command with brew: Brew Install wget

Transferred from: http://baijiahao.baidu.com/s?id=1583456151074034806&wfr=spider&for=pc

MacOS Installation telnet command

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.