Solution: 1. Use "yum list telnet*" to list telnet related installation packages; 2. Use "yum install -y telnet-server" to install the telnet service; 3. Use "yum install -y telnet .*” to install the client.
#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
The following prompt message appears when using the command
[root@VM-0-10-centos ~]# telnet 115.159.101.39 80 -bash: telnet: 未找到命令
Solution:
Install related dependent plug-ins
1. List telnet related installation packages
yum list telnet*
2. Install telnet service
yum install -y telnet-server
3. Install the telnet client
yum install -y telnet.*
Verify whether it is available
[root@VM-0-10-centos ~]# telnet 115.159.101.39 80 Trying 115.159.101.39... Connected to 115.159.101.39. Escape character is '^]'.
After verification, install the relevant dependent plug-in packages. You can use this command.
Recommended learning: Linux video tutorial
The above is the detailed content of What to do if linux cannot use telnet. For more information, please follow other related articles on the PHP Chinese website!