Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to list all network cards installed in my Ubuntu using a single terminal command ?

Any Help ?

share|improve this question

while the above works, there are other options with less typing.

ip link show

or my favorite, netstat

netstat -i

you can also use ifconfig and iwconfig for additional information or information about a specific device

ifconfig eth0

iwconfig wlp1s0

sort of depends on the sort of information you wish to display.

share|improve this answer

You can use :

lspci command

lspci : will list all PCI devices

Now we by this command :

lspci | egrep -i --color 'network|ethernet' 

The command will list network cards available and installed and highlight Ethernet word if found .

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.