解决-bash: telnet: command not found
2015-10-31 11:02:36   来源:   评论:0 点击:

[root@mail ~] telnet 127 0 0 1 10024 -bash: telnet: command not found
解决方式,重装一下telnet客户端。
centos、ubuntu

yum install telnet-server 安装telnet服务
[root@mail ~]# yum install telnet-server
Loaded plugins: fastestmirror, security
Setting up Install Process
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
epel/metalink                                            | 4.2 kB     00:00    
 * base: mirrors.163.com
 * epel: ftp.cuhk.edu.hk
 * extras: mirrors.163.com
 * rpmforge: ftp.neowiz.com
 * updates: mirrors.163.com



yum install telnet.* 安装telnet客户端
[root@mail ~]# yum install telnet.*
Loaded plugins: fastestmirror, security
Setting up Install Process
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * base: mirrors.163.com
 * epel: ftp.cuhk.edu.hk
 * extras: mirrors.163.com
 * rpmforge: ftp.neowiz.com
 * updates: mirrors.163.com

[root@mail ~]# telnet 127.0.0.1 10024
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 [127.0.0.1] ESMTP amavisd-new service ready


相关热词搜索:解决-bash: telnet: command not found

上一篇:Shell 编程速成二
下一篇:Linux更改主机名

分享到: 收藏