In: Computer Science
What command lists the MAC address on a computer? how do you find it on a mobile devices?
Question 1) What command lists the MAC address on a computer?
Answer: MAC address of a system is basically the physical address of the system which is stored in the Network Interface Card of the device and it is unchangable. The comman to check MAC address on a Windows system is: ipconfig /all
The user has to open command prompt from start menu or by searching the app in the search bar and then run the command: ipconfig /all
This command will give the details of the network configuration of the system, which will include physical address too. This physical address is the MAC address of the system.
Screenshot of the command in command prompt:
Output: The Physical Address is the MAC address of the system (shown with red arrows in the output).
The above command is for Windows system. Also, getmac command can be used to get the MAC address of the system in Windows. This command only returns the MAC address whereas ' ipconfig /all ' returns all the details of the system.
For example:
Output:
NOTE: In a Linux or Mac OS (Apple OS) system, ifconfig command can be used in the terminal (command prompt) to get the MAC address.
Question 2) How do you find it on a mobile devices?
Answer: In a mobile device, the MAC address of the device can be found in settings. The user has to visit About Phone section inside Settings menu of the phone to get the MAC address. In a mobile device, the MAC address can be displayed in WiFi Address or WiFi MAC address.
Sometimes, the user may have to check the Status of the phone inside About Phone or Device section in the settings to get the MAC address.