HowTo: Linux Show List Of Network Cards

  1. lspci command : List all PCI devices.
  2. lshw command : List all hardware.
  3. dmidecode command : List all hardware data from BIOS.
  4. ifconfig command : Outdated network config utility.
  5. ip command : Recommended new network config utility.

lspci command

Type the following command:
# lspci | egrep -i --color 'network|ethernet'

lshw command

The lshw command can extract detailed information on the hardware configuration of the machine including network cards. Type the following command:
# lshw -class network

ifconfig and ip command

To see all configured network devices, enter:
# ifconfig -a
OR
# ip link show
OR
# ip a

The dev pseudo-file contains network device status information. This gives the number of received and sent packets, the number of errors and collisions and other basic statistics.
$ cat /proc/net/dev