jeudi 14 mars 2013

Afficher son adresse IP public -sous linux

Voici comment affiche son adresse Ip public sous linux :


echo -n ' Adresse Publique : ' ;curl -s http://checkip.dyndns.org | awk '{print $6}' | awk ' BEGIN {FS = "< "} {print $1}'


Source : http://www.tux-planet.fr/afficher-son-adresse-ip-sous-linux/


Aucun commentaire:

Enregistrer un commentaire

Comment Installer un Serveur Ark Survival Ascend sur Linux avec Docker

 Les fans d'Ark Survival Ascend qui utilisent Linux peuvent désormais se réjouir, car il existe une solution pour déployer un serveur Ar...