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.

Reply via email to