ask around who's there
This commit is contained in:
parent
09025c91ef
commit
1a442e808e
1 changed files with 6 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue