I have a config.txt file with IP addresses as content like this
10.10.10.1:80 10.10.10.13:8080 10.10.10.11:443 10.10.10.12:80
I wa
You can avoid the loop and cut etc by using:
awk -F ':' '{system("ping " $1);}' config.txt
However it would be better if you post a snippet of your config.txt