SyntaxFix
Write A Post
Hire A Developer
Questions
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