博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
提示-bash: telnet: command not found的解决方法
阅读量:6049 次
发布时间:2019-06-20

本文共 4012 字,大约阅读时间需要 13 分钟。

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

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

解决方法: 安装telnet服务

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

yum list telnet*              列出telnet相关的安装包    yum install telnet-server          安装telnet服务    yum install telnet.*           安装telnet客户端
[root@localhost ~]# yum list telnet* Loaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile * base: mirrors.cn99.com * extras: mirrors.shu.edu.cn * updates: mirrors.cn99.comAvailable Packagestelnet.x86_64                            1:0.17-48.el6                      basetelnet-server.x86_64                     1:0.17-48.el6                      base
[root@localhost ~]# yum install telnet-serverLoaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile * base: mirrors.cn99.com * extras: mirrors.shu.edu.cn * updates: mirrors.cn99.comSetting up Install ProcessResolving Dependencies--> Running transaction check---> Package telnet-server.x86_64 1:0.17-48.el6 will be installed--> Finished Dependency ResolutionDependencies Resolved================================================================================ Package               Arch           Version                Repository    Size================================================================================Installing: telnet-server         x86_64         1:0.17-48.el6          base          37 kTransaction Summary================================================================================Install       1 Package(s)Total download size: 37 kInstalled size: 54 kIs this ok [y/N]: yDownloading Packages:telnet-server-0.17-48.el6.x86_64.rpm                     |  37 kB     00:00     Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning TransactionWarning: RPMDB altered outside of yum.  Installing : 1:telnet-server-0.17-48.el6.x86_64                           1/1   Verifying  : 1:telnet-server-0.17-48.el6.x86_64                           1/1 Installed:  telnet-server.x86_64 1:0.17-48.el6                                            Complete![root@localhost ~]#
[root@localhost ~]# yum install telnet.*Loaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile * base: mirrors.cn99.com * extras: mirrors.shu.edu.cn * updates: mirrors.cn99.comSetting up Install ProcessResolving Dependencies--> Running transaction check---> Package telnet.x86_64 1:0.17-48.el6 will be installed--> Finished Dependency ResolutionDependencies Resolved==================================================================================================================================== Package                       Arch                          Version                              Repository                   Size====================================================================================================================================Installing: telnet                        x86_64                        1:0.17-48.el6                        base                         58 kTransaction Summary====================================================================================================================================Install       1 Package(s)Total download size: 58 kInstalled size: 109 kIs this ok [y/N]: yDownloading Packages:telnet-0.17-48.el6.x86_64.rpm                                                                                |  58 kB     00:00     Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning Transaction  Installing : 1:telnet-0.17-48.el6.x86_64                                                                                      1/1   Verifying  : 1:telnet-0.17-48.el6.x86_64                                                                                      1/1 Installed:  telnet.x86_64 1:0.17-48.el6                                                                                                       Complete![root@localhost ~]#

 

转载地址:http://sdxex.baihongyu.com/

你可能感兴趣的文章
UNIX的套接口(Socket)编程简介
查看>>
CSF 中的应用程序请求路由
查看>>
Programming Ability Test学习 1035. 插入与归并(25)
查看>>
curl_multi_init 操作实例
查看>>
vue-swiper的使用
查看>>
RDLC设计
查看>>
bs4爬虫的一点心得----坑
查看>>
scp详解
查看>>
【小白入门教程】3 分钟搞明白直播中拖动不准的问题
查看>>
It English 每日更新
查看>>
程序员面试揭秘之程序员靠什么途径去美国工作?
查看>>
Install gocode
查看>>
Using Stored Programs with MySQLdb
查看>>
HDU1847 Good Luck in CET-4 Everybody!
查看>>
Bzoj1188 [HNOI2007]分裂游戏
查看>>
python常用数据类型-字符串
查看>>
php之array_column
查看>>
JVM运行时内存结构学习
查看>>
管理维护Replica Sets
查看>>
asp.net core 系列 3 依赖注入服务
查看>>