Skip to content

Instantly share code, notes, and snippets.

@argilzar
Created July 6, 2015 08:21
Show Gist options
  • Select an option

  • Save argilzar/4afd42f93c2a03cea3cb to your computer and use it in GitHub Desktop.

Select an option

Save argilzar/4afd42f93c2a03cea3cb to your computer and use it in GitHub Desktop.
Ping machines
for ip in $(seq 1 254);do echo "testing $ip";ping -c 1 192.168.1.$ip | grep "bytes from"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment