Final answer:
To get the MAC address of a NIC, use the command prompt on Windows with the command 'ipconfig /all' or the Terminal on macOS and Linux with 'ifconfig' or 'ip a'. This will provide a list of network interfaces and their respective MAC addresses.
Step-by-step explanation:
To get the MAC address for a specific Network Interface Card (NIC), you can use a simple command in the command prompt or terminal of your operating system. On a Windows device, you can open the command prompt by typing cmd in the search bar, then type ipconfig /all and press Enter. Look for the section that corresponds to the adapter you're interested in, and you will find the MAC address listed as 'Physical Address'.
For macOS or Linux systems, you can open the Terminal, then type the command ifconfig (for macOS or older versions of Linux) or ip a (for newer versions of Linux) and press Enter. Look for the 'ether' line in the output for your specific network interface to find the MAC address.
Remember that each network interface on your device has a unique MAC address. Whether it's a wired ethernet connection or a wireless Wi-Fi adapter, each will have its own MAC address listed in the command output.