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

Dockker - 001 - De zéro à HTTPS : Déployer SWAG sur Debian avec Docker et OVH

Installer SWAG sur Debian avec Docker et gérer les DNS OVH Dans ce tutoriel, découvrez comment installer SWAG (Secure Web Application Ga...