The method of checking Network Card Information in linux system
First, the two most straightforward commands, ifconfig and lspci.
1. Ifconfig: the most commonly used command to configure and view network interface information. Executing this command on the server will get the following content of the class, where you can see the status and information of multiple devices and devices.
2. Lspci | grep-I 'eth' or lspci | grep-I net command: you can list the devices on each pci bus. After filtering through grep, you can get a list of network card devices. Below, you can see that there are two network devices on my pci bus, which are two intel network cards:
3. Iwconfig: used to view the wireless network. If you have a wireless network card on your device, you can use this command to view it at this time. There is no wireless network card device on my device, so you will get the following information.
These are the details of how linux views the network card information. For more information, please pay attention to other related articles!