Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
user:william:start [2018/01/28 00:43]
38.132.40.142 [Getting External IP]
user:william:start [2018/03/28 23:40]
william
Line 3: Line 3:
 ---- ----
  
-==== PDF Tables ​====+  - [[user:​william:​PDF Tables|]] 
 +  - [[user:​william:​Getting External IP|]]
  
-  * **ASCII table** -- ''​man ascii''​ is good enough for one-off lookup. ​ But, if you need a permanent PDF table, here is something I created: {{ :​user:​william:​ascii.pdf |}}.  The control character names are mostly generics, but what's included are the names used by Epson'​s ESCPOS interpreter. 
- 
-  * **Netmask** -- I could never remember the decimal number for various netmasks. ​ So, I created a little table: {{ :​user:​william:​netmask.pdf |}} 
- 
----- 
- 
-==== Getting External IP ==== 
- 
-Here are some ways to get your external IP using command-line. 
- 
-  * **IP returned as text:** 
- 
-  curl -sS http://​myexternalip.com/​raw 
- 
-  curl -sS http://​icanhazip.com/​ 
- 
-  curl -sS http://​checkip.amazonaws.com/​ 
- 
-  curl -sS http://​ipinfo.io/​ip/​ 
- 
-  curl -sS http://​ipecho.net/​plain 
- 
-  curl -sS http://​bot.whatismyipaddress.com/​ 
- 
-  curl -sS http://​whatismyip.akamai.com/​ 
- 
-  curl -sS http://​diagnostic.opendns.com/​myip 
- 
-  curl -sS http://​ifconfig.ca/​ 
- 
-  * **IP buried in webpage:** 
- 
-  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://​ipchicken.com/​ | awk '/Name Address:/ {print $4}' 
- 
-  lynx -dump http://​ipchickenhawk.com/​ | sed -ne '/​Current IP Address/​{n;​p}'​ 
- 
-  lynx -dump http://​whatismyip.host/​ | sed -ne '/Your IP v4 address:/ {n;​n;​p}'​ 
- 
-  lynx -dump http://​whatismyip.net/​ | awk '/IP Address:/ {print $3}' 
- 
-  lynx -dump http://​checkip.org/​ | awk '/Your IP Address:/ {print $4}' 
- 
-  lynx -dump http://​checkmyip | awk '​$1=="​Host"​ {print $2}' 
- 
-  lynx -dump http://​whatismyip.org/​homepage/​ | sed -ne '/​^Your IP Address:/​{n;​n;​p}'​ 
- 
-  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}' 
- 
-  * **Special DNS query:** 
- 
-  dig @resolver1.opendns.com myip.opendns.com +short 
- 
-  dig @kwvoip.ca my.ip +short 
  • user/william/start.txt
  • Last modified: 6 years ago
  • by william