On 20/10/24 15:38, Chris Green wrote:
Yes, but the output from 'ip link show' wraps a whole lot of other junk around the MAC address which I'd need to remove for the application I want it for.
An easy filter ip a | grep -oE '([[:xdigit:]]{2}:){5}[[:xdigit:]]{2}'