inetutils

GNU utilities for networking including telnet, ftp, and ping

brewmacoslinux
Try with needOr install directly
Source

About

GNU utilities for networking

Commands

ftptelnetrshrlogintftppinghostnamewhois

Examples

Ping a remote host to check network connectivity$ ping -c 4 example.com
Connect to a remote FTP server to transfer files$ ftp ftp.example.com
Display or set the system hostname$ hostname