Get the Mac Address of the current user through Terminal

Hello,

What is a way to get the mac address of the computer you are running the command on in WinBox?

Regardless of whether the computer is connected via a hotspot, lan, regular wifi?


The command should be dynamic, so it could work on any computer with WinBox you run it on.



Thanks

You could open a terminal session using SSH and print the DNS leases using a filter that takes your local IP as an argument.

Using an SSH key with limited access rights and no passphrase, this could be automated as a script in the terminal.