This works:
mac=$(ifconfig eth0 | grep -Eo '..:..:..:..:..:..' | sed -e 's/://g')
.. but I'm sure there's a better way. Suggestions?
cat /sys/class/net/eth0/address
Adam
--
Klytus, I'm bored. What play thing can you offer me today?
An obscure body in the S-K System, your majesty.
The inhabitants refer to it as the planet Earth.