[Web] Mac 安裝 Telnet

在10.12及以下版本,都有內建telnet命令,但在10.13以後,都已经取消了。
Last login: Sun Aug 11 11:44:10 on ttys000
HaoKi$ telnet
-bash: telnet: command not found
打開终端機
安裝Homebrew -> /usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
再輸入密碼
指令在這裡-> https://brew.sh/index_zh-tw.html
HaoKi$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The following existing directories will be made group writable:
/usr/local/share/man/man3
/usr/local/share/man/man5
/usr/local/share/man/man7
==> The following existing directories will have their owner set to HaoKi:
/usr/local/share/man/man3
/usr/local/share/man/man5
/usr/local/share/man/man7
==> The following existing directories will have their group set to admin:
/usr/local/share/man/man3
/usr/local/share/man/man5
/usr/local/share/man/man7
==> The following new directories will be created:
/usr/local/include
/usr/local/lib
/usr/local/sbin
/usr/local/opt
/usr/local/Cellar
/usr/local/Caskroom
/usr/local/Frameworks
==> The Xcode Command Line Tools will be installed.
...
...
...
Password:
==> /usr/bin/sudo /usr/bin/xcode-select --switch /Library/Developer/CommandLineTools
==> Downloading and installing Homebrew...
HEAD is now at 625a7808e Merge pull request #6353 from lembacon/audit-numpy
Updated 1 tap (caskroom/cask).
No changes to formulae.
==> Installation successful!

==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics

==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations
==> Next steps:
- Run `brew help` to get started
- Further documentation: 
    https://docs.brew.sh
Homebrew安裝完成後輸入:brew help
正確輸出命令提示就是完成安裝了
接下來在安裝telnet
輸入:brew install telnet
$ brew help
...
...
...
$ brew install telnet
Updating Homebrew...
==> Downloading https://homebrew.bintray.com/bottles/telnet-60.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring telnet-60.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/telnet/60: 4 files, 138.2KB
HaoKi$ 
安裝完成就可以開始使用Telnet
By Hao★

留言

熱門文章

[C#] 將DataTable轉換成Html格式表格

[MS SQL] 查詢所有Procedure