


For more details, check our previous guide to find the connected state of network interfaces on Linux. And wireless network card is connected (See the word "UP"). $ ip addr $ ip -s linkĭid you notice that these command also shows the connected state of the network interfaces? If you closely look at the above output, you will notice that my Ethernet card is not connected with network cable (see the word "DOWN" in the above output). You can also use the following commands as well. Link/ether c0:18:85:50:47:4f brd ff:ff:ff:ff:ff:ffįind available network interfaces with 'ip' command Link/ether 24:b6:fd:37:8b:29 brd ff:ff:ff:ff:ff:ffģ: wlp9s0: mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000 Sample output: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 So you can use 'ip' command to display the network interfaces as shown below. The 'ifconfig' command is deprecated in the latest Linux versions. We can also use the same 'ifconfig' command in many UNIX variants, for example FreeBSD, to list available network cards. Here, lo is loopback interface, which is used to access all network services locally. TX packets 299706 bytes 60535732 (57.7 MiB)Īs you see in the above output, I have two network interfaces namely enp5s0 (on board wired ethernet adapter) and wlp9s0 (wireless network adapter) on my Linux box. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 I believe some of Linux users might still use this. The most commonly used method to find the network interface details using ifconfig command. List network interfaces using ifconfig command
