Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
3 lines (3 sloc) 92 Bytes
def get_a_mac
`ifconfig wlan0 | grep -o -E '([[:xdigit:]]{1,2}:){5}[[:xdigit:]]{1,2}'`
end