nux Asked: 2014-02-25 19:10:05 +0800 CST2014-02-25 19:10:05 +0800 CST 2014-02-25 19:10:05 +0800 CST How can I list installed network cards using Terminal? 772 How to list all network cards installed in my Ubuntu using a single terminal command? command-line 4 Answers Voted Panther 2014-02-25T20:46:55+08:002014-02-25T20:46:55+08:00 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. nux 2014-02-25T19:10:05+08:002014-02-25T19:10:05+08:00 You can use: lspci lspci : will list all PCI devices Now try this command: lspci | egrep -i --color 'network|ethernet' The command will list network cards available and installed and highlight Ethernet if found . user3021729 2018-07-04T03:54:45+08:002018-07-04T03:54:45+08:00 If the cards are installed physically but not configured you can see them like this: cat /proc/net/dev eadmaster 2019-05-24T05:34:37+08:002019-05-24T05:34:37+08:00 The following command provides detailed information about the hardware: sudo lshw -class network This command will show you the current NetworkManager configuration: nmcli
while the above works, there are other options with less typing.
or my favorite, netstat
you can also use ifconfig and iwconfig for additional information or information about a specific device
sort of depends on the sort of information you wish to display.
You can use:
lspci
: will list all PCI devicesNow try this command:
The command will list network cards available and installed and highlight
Ethernet
if found .If the cards are installed physically but not configured you can see them like this:
The following command provides detailed information about the hardware:
This command will show you the current NetworkManager configuration: