Linux get mac address

linux macaddress
ifconfig -a | grep ether | awk '{print $2}'