bash: telnet: command not found的解决方法

  依次执行如下命令:     yum list telnet*              列出telnet相关的安装包
    yum install telnet-server          安装telnet服务
    yum install telnet.*           安装telnet客户端

执行效果如下:

[[email protected] ~]# yum list telnet*
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.cn99.com
 * extras: mirrors.shu.edu.cn
 * updates: mirrors.cn99.com
Available Packages
telnet.x86_64                            1:0.17-48.el6                      base
telnet-server.x86_64                     1:0.17-48.el6                      base

[[email protected] ~]# yum install telnet-server
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.cn99.com
 * extras: mirrors.shu.edu.cn
 * updates: mirrors.cn99.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package telnet-server.x86_64 1:0.17-48.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package               Arch           Version                Repository    Size
================================================================================
Installing:
 telnet-server         x86_64         1:0.17-48.el6          base          37 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 37 k
Installed size: 54 k
Is this ok [y/N]: y
Downloading Packages:
telnet-server-0.17-48.el6.x86_64.rpm                     |  37 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: 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!
[[email protected] ~]# 

[[email protected] ~]# yum install telnet.*
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.cn99.com
 * extras: mirrors.shu.edu.cn
 * updates: mirrors.cn99.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package telnet.x86_64 1:0.17-48.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
 Package                       Arch                          Version                              Repository                   Size
====================================================================================================================================
Installing:
 telnet                        x86_64                        1:0.17-48.el6                        base                         58 k

Transaction Summary
====================================================================================================================================
Install       1 Package(s)

Total download size: 58 k
Installed size: 109 k
Is this ok [y/N]: y
Downloading Packages:
telnet-0.17-48.el6.x86_64.rpm                                                                                |  58 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running 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!
[[email protected] ~]# 

原文地址:https://www.cnblogs.com/qianmo123/p/12294828.html

时间: 2024-11-07 23:51:12

bash: telnet: command not found的解决方法的相关文章

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

Linux centos 运行telnet命令,出现下面的错误提示: [[email protected] ~]# 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.* 安装telne

centos下bash: XXX: command not found的解决方法

最近想在centos下做Android项目构建,配置好jdk和Android sdk后,同时也在/etc/profile将java和Android的环境变量配置进去,但是却无法像windows 下一样,直接使用android update project命令. 出现情况如下:bash: android: command not found 此时,我们可以使用ln命令将android 添加到/usr/bin目录下,详细解决方法如下: 1.使用cd /usr/bin 进入到该目录 2.使用ln -s

-bash:wget command not found​的解决方法

自从考了RHCE之后因为工作的调整的原因整整两年的时间都没有碰linux,两年后的今天果然成果显著!该忘的,不该忘的都已经忘的差不多了.时间真的是把杀猪刀啊,不仅夺去你的容颜,还要夺取你的记忆和技能,想想都可怕呢,不过还好我回来了,两年之后再次回到学习linux的征程上. 好啦,废话不多说,回到正题. 今天最小话安装centos6.6之后添加yum国内源时执行 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/

Linux环境下mysql报错:bash: mysql: command not found 的解决方法

# mysql -u root-bash: mysql: command not found 原因:这是由于系统默认会查找/usr/bin下的命令. 如果这个命令不在这个目录下,当然会找不到命令. 我们需要做的就是映射一个链接到/usr/bin目录下,相当于建立一个链接文件. # ln -s /usr/local/mysql/bin/mysql /usr/bin 原文地址:https://www.cnblogs.com/ming-4/p/11690947.html

解决 linux -bash: telnet: command not found

输入命令telnet提示  linux -bash: telnet: command not found 解决方法: yum list telnet*   查看telnet相关的安装包 yum install telnet-server 安装telnet服务 yum install telnet.* 安装telnet客户端 然后运行telnet正常了

解决 -bash:telnet:command not found

一.背景 telnet命令通常用来远程登录,例如:我今天安装了Memcache服务,想 telnet远程登录查看一下,是否正常启动. 二.问题 当我在linux虚拟机下敲下telnet时,发现提示 -bash:telnet:command not found,如图所示: 我们查看是否有安装telnet-server服务端时,发现是空的 #rpm -q telnet-server 如图所示: 三.解决 第一步:我们先查看linux虚拟机有没有安装telnet客户端和telnet-server 服务

centos解决bash: telnet: command not found...&& telnet: connect to address 127.0.0.1: Connection refused拒绝连接

检查telnet是否已安装: [[email protected] src]# rpm -q telnet-serverpackage telnet-server is not installed[[email protected] src]# telnet 192.168.81.129bash: telnet: command not found... rpm -qa |grep telnet 没有则安装,有跳过 yum install telnet-server -y && yum i

telnet不能用!!!提示:-bash: telnet: command not found

一.检查 1.[[email protected] ~]# telnet bash: telnet: command not found 2. 查询了是否安装Telnet包,结果如下: [[email protected] ~]# rpm -qa telnet* telnet-server-0.17-47.el6.i686 3.又查询了xinetd的状态: [[email protected] ~]# service xinetd status xinetd (pid 2967) 正在运行...

【ERROR】bash: vim: command not found的解决办法

今天在学习鸟哥的菜的时候,发现自己linux不可以启用vim命令,错误为:bash: vim: command not found. 机器环境:VMWare8+RED HAT Enterprise5 解决方法: 发现问题的根源在于没有安装好vim 输入 rpm -qa|grep vim 命令, 如果 vim 已经正确安装,会返回下面的三行代码: 1 [[email protected] ~]# rpm -qa |grep vim 2 vim-minimal-7.0.109-6.el5 3 vim