Changed ipaddr to basic bash script

This commit is contained in:
z3rOR0ne 2024-07-11 22:47:41 -07:00
parent 6ac59a171b
commit 7cb787e82b
2 changed files with 8 additions and 1 deletions

7
scripts/ipaddr Executable file
View file

@ -0,0 +1,7 @@
#!/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}"