perl -MSocket -le "print eval inet_ntoa(inet_aton([gethostbyaddr(inet_aton(''),AF_INET)]->[0]))"


There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Replies are listed 'Best First'.
Re: The IP address I'd like to own -- oneliner
by VinsWorldcom (Prior) on Mar 16, 2021 at 11:57 UTC