Skip to content

Instantly share code, notes, and snippets.

@tberghuis
Created January 17, 2018 06:27
Show Gist options
  • Save tberghuis/e32070f48431e05cf0a4432e81165274 to your computer and use it in GitHub Desktop.
Save tberghuis/e32070f48431e05cf0a4432e81165274 to your computer and use it in GitHub Desktop.
#!/bin/bash
# set to google temporily https://askubuntu.com/questions/845430/how-to-set-dns-server-address-temporarily
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment