Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
tutoriel:connaitre_son_adresse_ip [Le 21/07/2018, 10:26] TravellingFroggy [Adresse Locale] déprécation de ifconfig dans 18.04 |
tutoriel:connaitre_son_adresse_ip [Le 17/03/2020, 13:15] 159.148.186.246 [Adresse Publique] |
||
---|---|---|---|
Ligne 34: | Ligne 34: | ||
* [[http://whatsmyip.org|whatsmyip.org]] | * [[http://whatsmyip.org|whatsmyip.org]] | ||
* [[http://www.whatismyip.org/|whatismyip.org]] | * [[http://www.whatismyip.org/|whatismyip.org]] | ||
+ | * [[https://satoristudio.net/my-ip/|satoristudio.net/my-ip]] | ||
* [[http://aboutmyip.com/AboutMyXApp/AboutMyIP.jsp|aboutmyip.com]] | * [[http://aboutmyip.com/AboutMyXApp/AboutMyIP.jsp|aboutmyip.com]] | ||
* [[http://ifconfig.me/|ifconfig.me]] | * [[http://ifconfig.me/|ifconfig.me]] | ||
Ligne 82: | Ligne 83: | ||
=== Méthode avec wget === | === Méthode avec wget === | ||
Le site interrogé sera [[http://checkip.dyndns.org|checkip.dyndns.org]] avec l'outil [[:wget]]: | Le site interrogé sera [[http://checkip.dyndns.org|checkip.dyndns.org]] avec l'outil [[:wget]]: | ||
- | <code>wget http://checkip.dyndns.org/ -O - -o /dev/null | cut -d: -f 2 | cut -d\< -f 1</code> | + | <code>wget http://checkip.dyndns.org/ -O - -o /dev/null | cut -d: -f 2 | cut -d' ' -f 2 | cut -d\< -f 1</code> |
=== Méthode avec dig === | === Méthode avec dig === |