Skip to content

Instantly share code, notes, and snippets.

View findbootstrap.sh
#!/bin/bash
#credit to ilap
sed -e '/ address/!d' -e '/#/d' -e 's@^.*/ip./\([^/]*\)/tcp/\([0-9]*\).*@\1 \2@' cfg.all | \
while read addr port
do
tcpping -x 1 $addr $port
done
You can’t perform that action at this time.