8/28/2023 0 Comments Get mac address command line linuxThe second and more modern method of finding the mac address of a given interface is using the ip command. For example, the MAC addresses from the above output are: ens33 -> 00:0c:29:9d:72:70 The MAC address will be listed next to it, consisting of six pairs of hexadecimal numbers separated by colons. Advertisementsįor wireless devices, locate the interface following the format of wlan0 or similar format. Look for the network interface whose MAC address you want to find.įor example, to find mac address of the ethernet interface, locate the eth0 or ens33 or any device in that format. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 The command should return an output as shown below: docker0: flags=40 To find the MAC address using ifconfig, you can run the command: Advertisements ifconfig The ifconfig command is a traditional tool for managing network interfaces in Linux systems. How to get the IP Address in Linux - ImagineLinux Using the ifconfig command
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |