in reply to MAC Address of An Interface
perl -e '$if=eth0; $mac=(split(/\s+/,qx!/sbin/ifconfig $if!))[4]; prin +t $mac;' [download]