Skip to content

Instantly share code, notes, and snippets.

@joecannatti
Created May 2, 2012 03:30
Show Gist options
  • Save joecannatti/2573376 to your computer and use it in GitHub Desktop.
Save joecannatti/2573376 to your computer and use it in GitHub Desktop.
Print your roku ip address
for i in $(arp -a | awk '{print $2}' | sed "s/[(|)]//g"); do curl $i:8060 &>/dev/null; if [[ "$?" == "0" ]]; then echo $i; fi; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment