Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 354 Bytes

note_2016-10-02_09-53-28_get-public-ip-from-command-line.md

File metadata and controls

14 lines (12 loc) · 354 Bytes

Avoir son adresse IP publique en ligne de commande

$ curl ifconfig.me
$ curl icanhazip.com
$ curl ident.me
$ curl ipecho.net/plain
$ curl whatismyip.akamai.com
$ curl tnx.nl/ip
$ curl myip.dnsomatic.com
$ curl ip.appspot.com
$ curl ip.telize.com
$ curl curlmyip.com
$ curl -s checkip.dyndns.org | sed 's/.*IP Address: \([0-9\.]*\).*/\1/g'