However, if you are a Fedora Linux beginner and you don’t know about the network interface, it can create many issues. So, in this guide, you will learn about the effective but simple ways to list the network interfaces on Fedora Linux.
How to List the Network Interfaces on Fedora Linux
Here, we included multiple commands that you can try to list and check the network interfaces on your Fedora system.
The Ip Command
The “ip” command provides extensive information about the network interface. All you need to do is add the link option with the “ip” command to display the network-related information.
This command displays the in-depth information including their names, states, and MAC addresses.
The Nmcli Command
The “nmcli” command interacts with NetworkManager, the default network management service on Fedora Linux. It shows the list of network interfaces in simple format.
As you can see in the previous image, the current network interfaces are enp03 and lo.
The Ifconfig Command
The “ifconfig” command, although deprecated on many Linux distributions including Fedora, can still be used to list the network interfaces.
The “ifconfig” command displays a list of network interfaces which provides information such as IP addresses, netmasks, and other relevant details. Remember, you can use the “ip link” command instead of “ifconfig” as it is deprecated already.
The /sys/class/net Filesystem
To list the network interfaces, you can access the “/sys” filesystem as it contains the information about your network.
Conclusion
This is all about the simple commands that you can use to list the network interfaces on Fedora Linux. Effectively listing the network interfaces is crucial for configuring, troubleshooting, and monitoring the network-related activities. Moreover, we don’t recommend you to change anything related to the network interface if you are a beginner. Otherwise, you may face a lot of errors.