Ping scan
Linux
For Loop used on a Linux-based system to discover devices in a specified network segment.
for i in {1...254} ;do (ping -c 1 172.16.5.$i | grep "bytes from" &) ;done
Windows
PowerShell one-liner used to ping addresses 1 - 254 in the specified network segment.
1..254 | % {"172.16.5.$($_): $(Test-Connection -count 1 -comp 172.15.5.$($_) -quiet)"}
Last updated