ping_sweep
PING SWEEP Linux
for i in {1..254} ;do (ping -c 1 192.168.1.$i | grep "bytes from" &) ;done
Windows
for /L %i in (1,1,255) do @ping -n 1 -w 200 192.168.1.%i > nul && echo 192.168.1.%i is up.
Last updated
Was this helpful?
PING SWEEP Linux
for i in {1..254} ;do (ping -c 1 192.168.1.$i | grep "bytes from" &) ;done
Windows
for /L %i in (1,1,255) do @ping -n 1 -w 200 192.168.1.%i > nul && echo 192.168.1.%i is up.
Last updated
Was this helpful?