Skip to content

Instantly share code, notes, and snippets.

@pale2hall
Created May 7, 2019 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pale2hall/ccc7fb322145a31f346d7de6155e6d61 to your computer and use it in GitHub Desktop.
Save pale2hall/ccc7fb322145a31f346d7de6155e6d61 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "TBolt USA Support"
echo ""
echo "My Local IP Address:"
ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1'
#ifconfig | grep -o "inet 192"
echo ""
echo ""
echo "My Public IP Address:"
wget -q -O- ip.pale.io
echo ""
echo ""
read -p "Press enter to continue"
x11vnc
read -p "Finished! Press enter to continue"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment