Re: Script IP
> Buscar mi IP Publica (estoy conectado con ADSL)
> Envirme la IP a una dir de mail...
>
k
> se como buscar mi IP por ej lo estoy haciendo con
>
> ifconfig ppp0 | grep addr | awk '{print $2}'
>
my_iface=`/sbin/ifconfig eth0 | grep inet | cut -d: -f2 | cut -d" " -f1`
echo "direccion ip es: $my_iface" | email bleh@blu.com -s ip
saludos
--
______________________________________________
http://www.linuxmail.org/
Now with POP3/IMAP access for only US$19.95/yr
Powered by Outblaze
Reply to: