Re: Can nmap show 'my' MAC address
On Sat, Oct 19, 2024 at 20:16:53 -0400, Timothy M Butterworth wrote:
> You can display your systems mac address with the following command:
>
> $ ip address
>
> sample output
> link/ether d8:c0:a6:f4:cb:fd
Sure, you can *find* that somewhere in the output. But if the OP wants
to include this in a shell script along with nmap, then the -brief
option may be helpful:
hobbit:~$ ip -brief link
lo UNKNOWN 00:00:00:00:00:00 <LOOPBACK,UP,LOWER_UP>
eno1 UP d0:ad:08:23:8b:79 <BROADCAST,MULTICAST,UP,LOWER_UP>
wlp0s20f3 DOWN 70:d8:c2:1a:1e:a9 <BROADCAST,MULTICAST>
Reply to: