ping sweep bash script

I found this simple bash script which does it job - ping sweep.

for i in {1..255}; do ping 10.0.0.$i -c 1 | grep "time=";done

Remember to change to change 10.0.0 to your network subnet accordingly.

I found this script from : http://www.markmmanning.com/blog/2008/12/ping-sweep-with-bash.html .



---

Comments

Popular posts from this blog

Setup mail server with ldap authentication in docker

Install VMware workstation 11 on Fedora 21 with kernel 3.17

How to allow non root user to execute hping command ?