commandline ipchicken cli what's my IP …
https://gist.github.com/gojimmypi/dc4375955053eb624ef6a6761023fa19
Use the ipchicken.sh script. This script uses curl to get your IP address from https://www.ipchicken.com and then uses grep and sed to extract the IP address from the output. Use the dig command. Type "dig TXT +short o-o.myaddr.l.google.com @ns1.google.com" to get your IP address. If you do not have dig installed, you can install it using "yum install bind-utils" (for CentOS) or "apt-get install" (for Debian-based distributions). You can also use curl to get your IP address if you do not have dig installed.
Use the ipchicken.sh script. This script uses curl to get your IP address from https://www.ipchicken.com and then uses grep and sed to extract the IP address from the output.
Use the dig command. Type "dig TXT +short o-o.myaddr.l.google.com @ns1.google.com" to get your IP address. If you do not have dig installed, you can install it using "yum install bind-utils" (for CentOS) or "apt-get install" (for Debian-based distributions). You can also use curl to get your IP address if you do not have dig installed.
DA: 12 PA: 77 MOZ Rank: 29