![Forrest logo](/images/logo.png)
ip-link:tldr:062d1
The command "ip link" is used in Linux systems to manage network interfaces. It allows you to view and control various aspects of network interfaces such as Ethernet cards or wireless adapters. When you execute the "ip link" command, it will display a list of all the network interfaces available on your system along with their corresponding index numbers, names, and state (whether they are up or down). For example, the output of the "ip link" command might look like this: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether 12:34:56:78:90:ab brd ff:ff:ff:ff:ff:ff The above output shows two network interfaces: "lo" (loopback interface) and "eth0" (Ethernet interface). Each interface has properties such as its MAC address (link/ether), state, and other details. The "ip link" command can also be used to configure network interfaces by adding or removing them, changing their state, setting the MAC address, enabling or disabling promiscuous mode, and more.