Finding neighbours on my LAN
Martin Møller Skarbiniks Pedersen
traxplayer at gmail.com
Sun Jan 19 11:27:46 UTC 2014
On 17 January 2014 20:14, Suvayu Ali <fatkasuvayu+linux at gmail.com> wrote:
> Hi,
[...]
> $ nmap -sn 192.168.1.65-150
If you have GNU parallel instead then you can do it in a few seconds:
seq 65 150 | parallel -j0 ping -c1 192.168.1.{} | grep "64 bytes"
Without GNU parallel you can do this:
for f in {65..150}
do
(ping -c1 192.168.1.$f | grep "64 bytes" &)
done
More information about the users
mailing list