Finding neighbours on my LAN

Robert Moskowitz rgm at htt-consult.com
Sun Jan 19 11:43:36 UTC 2014


On 01/19/2014 06:27 AM, Martin Møller Skarbiniks Pedersen wrote:
> 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
fping -g 192.168.1.65/25




More information about the users mailing list