提示-bash: telnet: command not found的解决方法

Linux centos 运行telnet命令,出现下面的错误提示:

[root@localhost ~]# telnet 127.0.0.1 9501
-bash: telnet: command not found

解决方法: 安装telnet服务

centos、ubuntu安装telnet命令的方法.

    yum list telnet*              列出telnet相关的安装包
    yum install telnet-server          安装telnet服务
    yum install telnet.*           安装telnet客户端
原文地址:https://www.cnblogs.com/clubs/p/10633512.html