diff options
Diffstat (limited to 'whatismyip')
-rwxr-xr-x | whatismyip | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/whatismyip b/whatismyip new file mode 100755 index 0000000..c9ee00c --- /dev/null +++ b/whatismyip @@ -0,0 +1,4 @@ +#!/bin/sh + +set -eu +dig +short myip.opendns.com @resolver1.opendns.com |