ask around who's there
This commit is contained in:
parent
09025c91ef
commit
1a442e808e
6
local/bin/whoisthere
Executable file
6
local/bin/whoisthere
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cat /data/random/ips | while read name host ip; do
|
||||||
|
ping -c1 -w1 "$ip" > /dev/null && echo "$name"
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in New Issue
Block a user