- lspci command : List all PCI devices.
- lshw command : List all hardware.
- dmidecode command : List all hardware data from BIOS.
- ifconfig command : Outdated network config utility.
- 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