Mostrando las entradas con la etiqueta ip. Mostrar todas las entradas
Mostrando las entradas con la etiqueta ip. Mostrar todas las entradas

Obtener IP y enviarla a un archivo HTML

miércoles, octubre 27, 2010, Posted by FErArg, One Comment

Se necesita tener instalados los siguientes programas:
  • wget
  • fromdos
  • sed
/usr/bin/wget -q -O - http://checkip.dyndns.org/index.html | /usr/bin/fromdos | /bin/sed 's_Current IP CheckCurrent IP Address: __' | /bin/sed 's___'



Creative Commons License



 
Creative Commons License
Blog de FErArg by FErArg is licensed under a Creative Commons Atribución-No Comercial-Compartir Obras Derivadas Igual 3.0 España License.
Based on a work at www.FErArg.com.
Permissions beyond the scope of this license may be available at ferarg.blogspot.com.