List network interfaces on a Ubuntu machine

3

How can I get a list of the network interfaces on a Ubuntu machine including wired and wireless?

user97940

Posted 2011-09-15T10:08:01.897

Reputation: 103

Answers

3

ifconfig

  1. Go to the terminal (Press Ctrl+Alt+T)
  2. Type ifconfig and press Enter.

This is analogous to ipconfig /all in Windows.

Nemo

Posted 2011-09-15T10:08:01.897

Reputation: 1 126

1

To get a list of network interfaces on a Ubuntu machine including wired and wireless, you can execute the following command in the shell.

$ip link or ip addr

ifconfig is obselete program. ip link and ip addr are replacement for ifconfig.

pythondetective

Posted 2011-09-15T10:08:01.897

Reputation: 123

ip link is just what I needed, thanks! – krubo – 2019-07-03T23:55:04.217