19 Jun
2012
19 Jun
'12
9:16 p.m.
On Tue, Jun 19, 2012 at 10:27:59AM +0100, Mark Rogers wrote:
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.