* Marc Shapiro <m_shapiro@bigfoot.com>, 2002-10-01 20:46 -0400: > As the subject says: Where do I find my IP address after I connect to my > ISP with a dial-up account? I am guessing that it is somewhere in > 'proc', but I haven't figured out where. #!/bin/sh /sbin/ifconfig ${iface} | grep 'inet' | cut -d: -f2 | cut -d " " -f1 | grep -v 127 or, graphically, #!/bin/sh xmessage -center $(/sbin/ifconfig ${iface} | grep 'inet' | cut -d: -f2 | cut -d " " -f1 | grep -v 127) (long lines) -Andre
Attachment:
pgpZrTRkrcxOB.pgp
Description: PGP signature