Thursday, January 14, 2010

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 .



---

No comments:

Post a Comment

Feel free to leave your question or comment here, we will reply you as soon as possible.