[nakajima@centos55 sh]$ ifconfig |grep HWaddr |awk '{ x=$1; y=$5; printf("%s\t%s\n", x, y)}' eth0 00:0C:29:5B:96:A7 virbr0 00:00:00:00:00:00
[nakajima@centos55 sh]$ cat /sys/class/net/eth0/address 00:0c:29:5b:96:a7 [nakajima@centos55 sh]$ cat /sys/class/net/virbr0/address 00:00:00:00:00:00