Skip to content

Instantly share code, notes, and snippets.

@vgarrido
Last active July 4, 2022 19:54
Show Gist options
  • Save vgarrido/447c8e8ff1838e6a4d53ff969e1b6966 to your computer and use it in GitHub Desktop.
Save vgarrido/447c8e8ff1838e6a4d53ff969e1b6966 to your computer and use it in GitHub Desktop.
shell ping scan
for i in {1..254} ;do (ping -c 1 192.168.0.$i | grep "bytes from" &) ;done|cut -d " " -f4|tr -d “:”
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment