On Thu, Apr 19, 2012 at 3:48 PM, Michael Orlitzky <mich...@orlitzky.com> wrote:
> On 04/19/12 15:40, Alex Schuster wrote:
>> Hi there!
>>
>> How am I supposed to find the MAC address of an ethernet interface? I used
>> to call ifconfig and grep for HWaddr, but this does not work any more.
>>
>> I found the 'old-output' USE flag for sys-apps/net-tools, which brings
>> back the old behaviour in order not to break old scripts, but I'd like to
>> know what the new method is that scripts should use.
>
> `ip link`
>
> Learning a new command for something so fundamental was annoying, but
> now I'm much happier.
>

I'll second this. The 'ip' command is far and away a nicer tool than
ifconfig, once you get a handle on it.

-- 
:wq

Reply via email to