1829883 Members
10741 Online
109993 Solutions
New Discussion

mac address

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

mac address

How do I get the mac address of my network card from the command line? Running redhat 8 on an HP E800.

Thanks
UNIX IS GOOD
2 REPLIES 2
Balaji N
Honored Contributor
Solution

Re: mac address

ifconfig -a | grep HWaddr

-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Caesar_3
Esteemed Contributor

Re: mac address

Hello!

One: ifconfig ethX | grep HW
Two: cd /proc/net
find your card driver there you will get
all the data also the hw address.

Caesar