Pokaż adres MAC w Ubuntu
$ ifconfig -a | grep -Po 'HWaddr \K.*$'
74:d4:35:84:34:13
Youssef Shaban Abu-hamda
$ ifconfig -a | grep -Po 'HWaddr \K.*$'
74:d4:35:84:34:13
ip link show
ip addr show $(awk 'NR==3{print $1}' /proc/net/wireless | tr -d :) | awk '/ether/{print $2}'