Skip to content

Instantly share code, notes, and snippets.

@jgrossiord
Last active December 18, 2015 07:59
Show Gist options
  • Save jgrossiord/5750262 to your computer and use it in GitHub Desktop.
Save jgrossiord/5750262 to your computer and use it in GitHub Desktop.
ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | grep -v '10.0.2' | grep -v '10.11.12.1' | cut -d: -f2 | awk '{ print "http://"$1"/"}' > /vagrant/logs/web/urls.txt
echo "You can access your application on "
cat /vagrant/logs/web/urls.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment