Creating an IP Lookup with one line
#!/bin/bash
# dig command to lookup what the public ip address is
dig +short myip.opendns.com @resolver1.opendns.com
#!/bin/bash
# dig command to lookup what the public ip address is
dig +short myip.opendns.com @resolver1.opendns.com