 |
bash script use cut command at variable and store result at another ...
bin/bash -vx file=config.txt while read line ; do ##this line is not correct, should
strip :port and store to ip var ip=$( echo "$line" |cut -d\: -f1 ) ping ...
stackoverflow.com |
 |