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, 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

[root@localhost ~]# 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!

[root@localhost ~]#

[root@localhost ~]# 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!

[root@localhost ~]#

linux telnet: command not found,提示-bash: telnet: command not found的解决方法相关推荐

  1. linux 找不到php命令,bash scp:未找到命令的解决方法

    scp命令用于通过ssh在两台服务器之间传输文件.大多数scp用户在系统中已经可以使用scp命令,但它仍然显示"bash:scp:command not found".因此注意,s ...

  2. Linux系统上没有scp命令,bash scp:未找到命令的解决方法

    scp命令用于通过ssh在两台服务器之间传输文件.大多数scp用户在系统中已经可以使用scp命令,但它仍然显示"bash:scp:command not found".因此注意,s ...

  3. centos 中使用sqlplus 登陆oracle提示bash.sqlplus命令未找到的解决方法

    出现这个问题是因为环境变量失效: 解决方法: 首先需确认当前用户是否是oracle 若不是请执行  su oracle 然后执行下面两步 1)   $ cd ~ 2)$ source .bash_pr ...

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

    提示-bash: telnet: command not found的解决方法 参考文章: (1)提示-bash: telnet: command not found的解决方法 (2)https:// ...

  5. bash文件无法运行,提示没有那个文件或目录的解决方法

    bash文件无法运行,提示没有那个文件或目录的解决方法 http://hi.baidu.com/whyspai/blog/item/d24b905430bc88093b293549.html /bin ...

  6. Linux执行可执行文件提示No such file or directory的解决方法

    Linux执行可执行文件提示No such file or directory的解决方法 查阅资料后,原因是系统位数与该可执行文件需要的lib库位数不匹配. 用uname命令打印系统信息,发现系统是6 ...

  7. linux系统无法启动提示give root password for maintenance的解决方法

    linux系统无法启动提示give root password for maintenance的解决方法 由于非法重启或硬盘故障,会导致linux系统无法启动,无法进入操作系统.当你看到提示:give ...

  8. linux yum提示Loaded plugins: fastestmirror, security错误的解决方法

    linux yum提示Loaded plugins: fastestmirror, security错误的解决方法 参考文章: (1)linux yum提示Loaded plugins: fastes ...

  9. linux设备忙碌无法删除文件夹,linux umount 提示"device is busy" 终极解决方法 无法卸载分...

    linux umount 提示"device is busy" 终极解决方法 无法卸载分 为了干净地关闭或热交换 UNIX 或类 UNIX 系统上的存储硬件,必须能够卸载使用此设备上的存储的所有文件系 ...

最新文章

  1. POSA2:Wrapper Facade模式
  2. php实现 简单密码(代码颜色变化)
  3. 利用 VMware vRealize - 构建和优化云管理
  4. java快速注释怎么配置_详解如何在低版本的Spring中快速实现类似自动配置的功能...
  5. 为什么旧硬件的驱动越来越难找了?
  6. Postgresql----libpq
  7. [日期]字符串转Data对象
  8. 【心里效应】98 个著名的心理效应
  9. 智能控制在计算机领域的应用,智能控制的主要应用领域
  10. 轻巧实用的web ssh工具使用笔记——WGCLOUD
  11. 什么是混合移动App开发【重点学习系列---干货十足--一文详解】
  12. 浅谈sklearn中DBSCAN的欧式距离(Euclidean Distance)的计算
  13. 你的放大器是否可能自激振荡?
  14. 一周XX思考(第11期)
  15. 面试被问离职原因,别乱说
  16. 制作LFS之后的总结
  17. vivo手机互传的文件怎么找到_小白换机最头疼文件转移!学会vivo互传这几个技巧,换机更轻松...
  18. SQL xin手错误鉴赏以及成长小结
  19. 微信客服机器人(踩坑记录、SpringBoot、企业微信)
  20. 《软件测试》第十章 外国语言测试

热门文章

  1. 儿童安全座椅ECE认证哪里可以查询?
  2. Win11安装Ubuntu子系统(副图形化界面安装教程)
  3. 高维数据映射为低维数据
  4. 网吧无盘60台服务器配置,网吧40台无盘服务器的配置
  5. Heartbeat安装
  6. Linux 如何从命令行执行程序
  7. 使用原子电子和vue.js制作的简单RSS阅读器
  8. 疑“垄”无据?决定谷歌垄断案的关键问题是……
  9. 常见的管理学原理法则
  10. 福昕软件:十年暗战Adobe