Shell/Unix - Getting MAC Address -


i know how our mac address on unix environment, know ifconfig -... i'm getting others stuff (i want mac address, nothing more).

is possible ?

as root user (or user appropriate permissions

type "ifconfig -a" 

from displayed information, find eth0 (this default first ethernet adapter),locate number next hwaddr. mac address..


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -