Answer the question
In order to leave comments, you need to log in
How to display the mac address of an interface?
How to display the mac address of a network interface, knowing that its ip starts with 128.15. on your pc?
Answer the question
In order to leave comments, you need to log in
How to display the mac address of a network interface, knowing that its ip starts with 128.15. ?
ip addr | sed -n '/link/h;/inet 128\.15\./{g;p}'
Display MAC addresses of all interfaces
To display the MAC address of a specific interface, you need to specify its name, for example:ifconfig eth0 | grep ether
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question