[Leaplist] What are my local IP addresses?
Jim Hartley
xjimh at cfl.rr.com
Fri Jun 29 14:07:50 EDT 2007
Seemed to work OK on my Fedora Core 6 system. Showed the local loopback
addr and the addr assigned by the (cable) router, each one followed by a
line I didn't understand ... I assume if I took the trouble to
investigate those would mean something too. (The line under the regular
IP address MIGHT have been the e-net card's MAC address??)
Jim Hartley
Phil Barnett wrote:
> On Friday 29 June 2007 06:57, Kyle Gonzales wrote:
>
>> If you want to see the IP addresses, with the subnet context included,
>> you can use ip addr:
>>
>> ip addr show | grep "inet" | awk -F" " '{ print $2 }'
>>
>
> Works on RHEL, doesn't work on Fedora Core.
>
> I've never heard of that function before. Is it part of the GNU toolchain?
>
>
More information about the Leaplist
mailing list