PDA

View Full Version : [ubuntu] Finding the MAC address



SteelCore
January 31st, 2009, 06:42 AM
Hi,
What is the shell command to find out your MAC address?
Thanks

TCSnyder
January 31st, 2009, 06:43 AM
it's


ifconfig

taurus
January 31st, 2009, 06:44 AM
I believe ifconfig would do.


/sbin/ifconfig

prshah
January 31st, 2009, 07:23 AM
Hi,
What the shell command to find out your MAC address?


ifconfig, as suggested will give you the MAC address, marked as HWaddr. You can also use
ifconfig | grep -i hwadd to strip out unnecessary information.

SteelCore
January 31st, 2009, 07:52 AM
ifconfig | grep -i hwadd

That's neat.

Thanks to all.