[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what is my IP?



On Mon, 31 Jan 2005 10:51:02 -0500, "Brendan"
<mailinglist@endosquid.com> said:
> On Saturday 29 January 2005 08:52, Vegard Lundby Rekaa wrote:
> > I have a dynamic IP-adress, and have been using p2p clients to retrive my
> > owm IP adresse when I need it. Is there another, easier way to do this?
> 
> In my .bashrc:
> alias myip="/sbin/ifconfig eth0 | grep 'inet add' | awk '{print $2}' |cut
> -d ' 
> '  -f 12 |cut -d: -f2"
> alias myip-nat="lynx -dump http://checkip.dyndns.org";


Won't just /sbin/ifconfig eth0 do it?
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> 
-- 
  Kevin Jones
  kevinhj@imap.cc



Reply to: