Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
user:william:getting_external_ip [2020/02/23 01:45]
198.52.187.21
user:william:getting_external_ip [2020/02/23 02:00] (current)
198.52.187.21
Line 20: Line 20:
  
   lynx -dump http://​ip4.me/​ | sed -ne '/You are connecting with an IPv4 Address of/ {n;p}'   lynx -dump http://​ip4.me/​ | sed -ne '/You are connecting with an IPv4 Address of/ {n;p}'
-  lynx -dump http://​checkip.dyndns.org/​ | awk '/​Current IP Address:/ {print $4}' +  lynx -dump http://​checkip.dyndns.org/​ | awk '/​Current IP Address:/ {print $NF}' 
-  lynx -dump http://​ipchicken.com/​ | awk '/Name Address:/ {print $4}'+  lynx -dump http://​ipchicken.com/​ | awk '/Name Address:/ {print $NF}'
   lynx -dump http://​whatismyip.host/​ | sed -ne '/Your IP v4 address:/ {n;​n;​p}'​   lynx -dump http://​whatismyip.host/​ | sed -ne '/Your IP v4 address:/ {n;​n;​p}'​
-  lynx -dump http://​checkmyip.com/​ | awk '/Your IP is:/ {print $4}'+  lynx -dump http://​checkmyip.com/​ | awk '/Your IP is:/ {print $NF}'
   lynx -dump "​http://​www.google.ca/​search?​q=what+is+my+ip"​ | sed -ne '/Your public IP address/​{x;​p;​x}'​ -e '​h'​   lynx -dump "​http://​www.google.ca/​search?​q=what+is+my+ip"​ | sed -ne '/Your public IP address/​{x;​p;​x}'​ -e '​h'​
-  lynx -dump http://​monip.org/​ | awk '/IP :/ {print $3}'+  lynx -dump http://​monip.org/​ | awk '/IP :/ {print $NF}'
   lynx -dump http://​www.myipaddress.com/​ | sed -ne "/Your computer'​s IP address is:/ {n;​n;​p}"​   lynx -dump http://​www.myipaddress.com/​ | sed -ne "/Your computer'​s IP address is:/ {n;​n;​p}"​
   lynx -dump http://​whatismyip.com/​ | awk '/My Public IPv4 is:/ {print $NF}'   lynx -dump http://​whatismyip.com/​ | awk '/My Public IPv4 is:/ {print $NF}'
  • user/william/getting_external_ip.txt
  • Last modified: 5 weeks ago
  • by 198.52.187.21