How to List Network Interfaces on Ubuntu Linux
Network interfaces on Ubuntu are the physical or virtual parts—like your Wi-Fi card or Ethernet port—that connect your computer to the internet. The standard `ip link show` command lists all available network adapters on Ubuntu 22.04 and later releases.
You can also run `nmcli device status` in the Terminal to see a quick status list of all active network devices. If you need to find an IP address for a specific connection, the `ip addr show` command gets the job done instantly.
You can list network interfaces on Ubuntu Linux using command-line tools. Run `ip link show` for a modern view, `nmcli device status` for a quick overview, or `ip addr show` for IP details.
Show network interfaces using the IP command
The IP command lets you see your network interfaces on Ubuntu Linux without installing anything extra.
Checking active adapters takes running the following commands.
The network manager allows you to display your network interfaces, providing a visual representation of your network connections. Accessing the network settings through the Ubuntu desktop achieves this same result.
Executing the commands below handles the task.
nmcli device status
Show network interfaces using netstat
Using the IP Command
Running `netstat -i` displays a tabular summary of active interfaces as an alternative method:
The `ifconfig` command lists network interfaces on Ubuntu Linux, showing all active network connections on your computer. Missing tools require manual installation before checking the network setup. Inspecting a specific network adapter relies on targeted queries.
Inspecting a specific network adapter relies on running “ifconfig <interface name>” or “ip addr show <interface name>.”
ipconfig
List network interfaces
The `ls /sys/class/net/` command exposes the names of all network connections recognized by the Ubuntu machine. Reviewing available network adapters through this directory provides a basic overview of the network setup.
Ubuntu Linux displays and lists network interfaces using commands like `ip addr show` and `ifconfig`. These commands provide detailed information about each network connection. Understanding the system's network setup depends on running these utilities.
Conclusion:
- Multiple commands can be used to list network interfaces on Ubuntu Linux, providing varying levels of detail
- Popular commands include "ip link show", "nmcli device status", "ip addr show", and "netstat -i"
- The "ifconfig" command, previously installed by default, now requires the "net-tools" package
- Detailed information about specific network interfaces can be obtained using specific commands such as "ifconfig <interface name>" or "ip addr show <interface name>"
- Another method is to list the content of the network interfaces folder using "ls /sys/class/net/"
- These commands and methods serve as a starting point to display and list network interfaces on Ubuntu Linux
Where are the network interfaces in Ubuntu?
The /etc/network/interfaces file contains network interface configuration information for both Ubuntu and Debian Linux. This is where you configure how your system connects to the network. Managing static or DHCP IP settings, routing, DNS, and more happens here.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!