Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of checking Network Card Information in linux system

Shulou Source: shulou.com Published: 2022-06-03 03:33:24 09月11日 Update

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!

Tags: Devices network cards commands information content wireless network the following two buses wireless network cards multiple that is commonly used interfaces articles wireless networks clear more servers Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info OPPO Reno Shulou Technology macOS NVidia