Tips for-bash:telnet:command not found workaround

Source: Internet
Author: User

Linux CentOS running the telnet command, the following error message appears:

127.0. 0.1-bash:telnet:command not found
Workaround: Install the Telnet service

Methods for installing the Telnet command on CentOS and Ubuntu.

    yum list telnet*               lists Telnet-related installation packages     yum install telnet-server          Installing the Telnet    service yum install telnet.*           Installing the Telnet client
yum list telnet* Loaded plugins:fastestmirror, refresh-** * updates: Mirrors.cn99.comAvailable packagestelnet.x86_64                            1:0.17-el6                      Basetelnet-server.x86_64                     1:0.17-el6                      Base
[Email protected] ~]#Yum Installtelnet-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_641:0.17- -. El6 'll be installed-finished Dependency resolutiondependencies resolved================================================================================Package Arch Version Repository Size================================================================================installing:telnet-server x86_641:0.17- -. EL6 BasePanax Notoginsengktransaction Summary================================================================================Install1Package (s) Total Download size:Panax Notoginsengkinstalled Size: WukIs This ok [y/N]: ydownloading packages:telnet-server-0.17- -. el6.x86_64.rpm |Panax NotoginsengKbxx:xxRunning rpm_check_debugrunning Transaction testtransaction Test succeededrunning transactionwarning:rpmdb altere D Outside ofYum. Installing:1: telnet-server-0.17- -. el6.x86_641/1Verifying:1: telnet-server-0.17- -. el6.x86_641/1installed:telnet-server.x86_641:0.17- -. El6 Complete![[Email protected]~]#
[Email protected] ~]#Yum Installtelnet.*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_641:0.17- -. El6 'll be installed-finished Dependency resolutiondependencies resolved=============================================================================================================== =====================Package Arch Version Repository Size=============================================================================================================== =====================installing:telnet x86_641:0.17- -. EL6 Base -ktransaction Summary=============================================================================================================== =====================Install1Package (s) Total Download size: -kinstalled Size:109kIs This ok [y/N]: ydownloading packages:telnet-0.17- -. el6.x86_64.rpm | -Kbxx:xxRunning rpm_check_debugrunning Transaction testtransaction Test succeededrunning Transaction Installing:1: telnet-0.17- -. el6.x86_641/1Verifying:1: telnet-0.17- -. el6.x86_641/1Installed:telnet.x86_641:0.17- -. El6 complete![[Email protected]~]#

Tips for-bash:telnet:command not found workaround

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.