1
0
Ответвление 0
configuration/local/bin/whoisthere
2016-12-02 14:44:59 +01:00

6 строки
119 Б
Bash
Исполняемый файл

#!/bin/sh
cat /data/random/ips | while read name host ip; do
ping -c1 -w1 "$ip" > /dev/null && echo "$name"
done