|
Hi Pludi,
Thanks for the suggestion, if running bash. I think it is same by executing below command
for one by one(since I have hundred over telnet connection). The telnet connection port is
2071
% telnet 10.x.x.x 2071
for the bash command
exec 3>/dev/tcp/${10.x.x.x}/2071
if [ $? -eq 0 ]
then
echo "Telnet accepting connections"
else
echo "Telnet connections not possible"
fi
It seems like not working.
bash: /dev/tcp/${10.x.x.x}/2071: bad substitution.
Do you have any idea which can lead me to run the script in one shot, and the output is the hundred over telnet connection status. THanks in advance!
|