How to get the MAC address of the 'local' system given the IP address?

Paul Sladen ubuntu at paul.sladen.org
Thu Jan 30 17:25:33 UTC 2020


On Thu, 30 Jan 2020, Chris Green wrote:
> ... find a neat way of getting the corresponding MAC

$ grep . /sys/class/net/*/address

Then look up the vendor prefixes in a copy of 'oui.txt'.

	-Paul





More information about the ubuntu-users mailing list