
if I run the following command in Ubuntu 18.04 I get this output:
ip link | awk '{print $2}'
lo:
00:00:00:00:00:00
wlp1s0:
2c:6e:85:bf:01:00
enp2s0:
14:18:77:a3:01:02
I want you to show it like that (without "lo")
wlp1s0: 2c:6e:85:bf:01:00
enp2s0: 14:18:77:a3:01:02
How do I get it. Thanks