7 lines
No EOL
161 B
Bash
Executable file
7 lines
No EOL
161 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
IPV4=$(curl -s -4 icanhazip.com)
|
|
IPV6=$(curl -s -6 icanhazip.com)
|
|
|
|
echo "Your IPV4 address is: ${IPV4}"
|
|
echo "Your IPV6 address is: ${IPV6}" |