[Techtalk] Discovering my IP address
John Clarke
johnc+linuxchix at kirriwa.net
Mon Mar 15 15:43:55 EST 2004
On Mon, Mar 15, 2004 at 02:19:18PM +1100, Sue Stones wrote:
> I don't have a static IP address, but I have just discovered that I need to
> know my IP address for an application for uni.
>
> Does anyone know how to find out what it is?
/sbin/ifconfig eth1|awk '$0 ~ /inet addr:/ {sub(/addr:/,"",$2); print $2}'
Cheers,
John
--
Vi is basically a user-friendly TECO subset.
-- Peter da Silva
More information about the Techtalk
mailing list