Fix-bash:telnet:command not found

Source: Internet
Author: User

I. BACKGROUND

The telnet command is usually used to telnet, for example: I installed the Memcache Service today, I would like to telnet remote login to see if it started normally.

two. problem

when I knocked down Telnet under a Linux virtual machine , I found the hint -bash:telnet:command not found:

We check to see if there is a Telnet-server server installed and the discovery is empty

#rpm-Q Telnet-server

Three. Resolve

First step: We first check if the Linux virtual machine has telnet client and telnet-server server installed

#rpm-Q Telnet

#rpm-Q Telnet-server

is blank, it means it's not installed.

Step two: Download telnet client and telnet-server server

Search http://rpm.pbone.net/Installation Package

Download:

telnet-server-0.17-25.i386.rpm Service Side

telnet-0.17-25.i386.rpm Client

Step three: Install the elnet client and telnet-server Server

#rpm-IVH telnet-0.17-25.i386.rpm

#rpm-IVH telnet-0.17-25.i386.rpm


the Linux virtual machine has not properly installed the Telnet client and the telnet-server server, check :

Fourth Step: Modify the configuration

#vi/etc/xinetd.d/telnet

Change disable= Yes to disable=no:

Restart Service

# Service xinetd Restart :

# service XINETD Status View state:


Let's check to see if Telnet is turned on:

Fifth step: Using the telnet command

#tenlnet IP Display login, indicating that the telnet command can be used:

Fix-bash:telnet:command not found

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.