Skip to content

Instantly share code, notes, and snippets.

#!/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