::DumpingCode
Just a place where to dump some code to the community.
lunes, 27 de julio de 2009
Get IP address of a host
If you need to get the IP address of a host, but you don't want to parse the output of ifconfig, you can use hostname:
$ hostname -i
192.168.1.160
$
_
No hay comentarios:
Publicar un comentario
Entrada más reciente
Entrada antigua
Inicio
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario