I am a linux novice, and I have to get in touch with linux recently.
There is a piece that needs to be connected to the network. When it is found that telnet is performed, it reports -bash command not found...
The following steps were taken:
(1) rpm -qa | grep telnet
No results returned, got telnet not installed
(2) Download the rpm files of xinted and telnet, what I downloaded is
CentOS 5.11 for x86_64 |
http://rpmfind.net/linux/rpm2html/search.php?query=xinetd
http://rpmfind.net/linux/rpm2html/search.php?query=telnet-server
(3) Use rpm -i * to install xinted and telnet
(4) Configure and restart xinted, then start telnet
(5) Use telnet 127.0.0.1 to test, the result: -bash command not found...
what the fucking this! Drives me crazy
(6) Continue to find articles, in a certain article, it is mentioned that telnet is divided into client and server. It seems that I have installed server-side things in front of me!
(7) Download the telnet client http://download.csdn.net/detail/www476907899/5819695
(8) Installation
(9) Finally can telnet