I have a list of IP-s of switches in a text file. Now I want to telnet those switches one by one using a shell script. And this script to telnet all IP-s inside list ( text file ).
Please help !
I have a list of ip addresses whom I need to telnet on port number 80. I need to create a shell script for it. But the problem is if the telnet is successful then how can I exit from it. And if the telnet is successful then the script declare the ip-address as live else down. Thanks.
I want to run several Telnet in a bash script and output the result to different text files.
telnet XXX.XXX.XXX.1 | tee -a /home/kristoffer/telnetXXX.XXX.XXX.1.txt
telnet XXX.XXX.XXX.2 | tee -a /home/kristoffer/telnetXXX.XXX.XXX.2.txt
telnet XXX.XXX.XXX.3 | tee -a /home/kristoffer/telnetXXX.XXX.XXX.3.txt
telnet XXX.XXX.XXX.4 | tee -a /home/kristoffer/telnetXXX.XXX.XXX.4.txt
for lab purposes i need to run telnet server on my RedHat 7 machine.
i installed the package: telnet-server using yum.
i read that i need to edit the telnet file under /etc/xinetd.d
the problem is that there is no telnet file in that folder.
the telnet server install completed successfully what am i missing here?
I am not very much familiar with telnet based scripting so I would need your help to directly submitting sms as deliver_sm or submit_sm msg to SMSC (IP & system_id and password are already known). So, need your help to provide such script. I previously used such script but my harddisk crashed and now I don't have any such clue how it runs.