How to List Network Interfaces on Ubuntu Linux
Network interfaces (the physical or virtual connections like Wi-Fi cards and Ethernet ports that link your computer to a network) are easy to view on Ubuntu Linux using built-in terminal commands. Running the standard ip link show command lists all available network adapters on Ubuntu 22.04 and later releases.
You can also type nmcli device status into 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
You can list network interfaces Ubuntu systems recognize by running the ip addr show command in your terminal. This built-in tool displays every active network adapter, its IP address, and its current connection status without requiring you to install any extra software.
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
You can list network interfaces Ubuntu detects by using the netstat -i command in the terminal. This command generates a simple table showing all active network adapters, data packets sent and received, and potential errors on your system.
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
You can quickly list network interfaces Ubuntu has registered by checking the system directory with the ls /sys/class/net/ command. This method prints out the plain text names of every wired and wireless adapter currently connected to your computer.
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.
Multiple commands list network interfaces on Ubuntu, providing varying levels of detail.
- 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 (Dynamic Host Configuration Protocol, which automatically assigns IP addresses), routing, and DNS 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!