commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Just replace eth3 with the interface you want the MAC for.
There are 4 alternatives - vote for the best!
plain and simple
This command is useful when you want to check your nic's mac address, if you're interested in your wireless interface, use its ID instead "eth".
This command was tested under Ubuntu and Slackware GNU/Linux.
If you can do better, submit your command here.
You must be signed in to comment.