Open sudoWalker opened 4 years ago
Hy, when i use this command in my ubuntu 18.04 machine:
pubip="$(sed -e 's/^"//' -e 's/"$//' <<<"$(dig whoami.akamai.net. @ns1-1.akamaitech.net. +short)")"
it responses:
sh: 13: Syntax error: redirection unexpected
So, what that is attempting to do is lookup your public IP address. If you know your public IP address, you could put it there instead in a style like this. pubip="123.456.789.0"
Hy, when i use this command in my ubuntu 18.04 machine:
pubip="$(sed -e 's/^"//' -e 's/"$//' <<<"$(dig whoami.akamai.net. @ns1-1.akamaitech.net. +short)")"
it responses:
sh: 13: Syntax error: redirection unexpected