ping all clients in network


/ Published in: Bash
Save to your folder(s)

Single line for linux shell


Copy this code and paste it in your HTML
  1. export i=0; while [[ $((++i)) -le 254 ]]; do ping -c1 -w1 192.168.25.$i | grep ttl | cut -d " " -f4 | cut -d ":" -f1; done;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.