With this command, I would like one command to get the current mac adress only, and another command to get only the permanent mac. So I have to use a grep expression, but I don’t know what to do.
$ macchanger -s wlan0
Permanent MAC: 14:25:47:ff:c4:aa (Twinhan)
Current MAC: 00:24:54:f0:5c:cc (unknown)
So I would really like to do something like macchanger -s wlan0 | grep … in order to exactly get 14:25:47:ff:c4:aa
And another command to get 00:24:54:f0:5c:cc
Thanks you
To get the ‘Permanent’ line:
To get the ‘Current’ line: