Home  >  Article  >  Operation and Maintenance  >  How to check network card information in Linux

How to check network card information in Linux

王林
王林Original
2019-12-25 15:17:416344browse

How to check network card information in Linux

1. First are the two simplest and clearest 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 content below. You can see multiple devices and device status and information in the following content.

How to check network card information in Linux

Related free learning video tutorial recommendations: linux video tutorial

2, lspci |grep -i 'eth' or lspci | grep -i net command: can list the devices on each pci bus. After filtering through grep, you can get the network card device list. Below you can see the network devices on my pci bus. There are two, two Intel network cards:

How to check network card information in Linux

3, iwconfig: used to check the wireless network, if there is a wireless network card on your device at this time You can use this command to check that there is no wireless network card device on my device, so you will get the following information.

How to check network card information in Linux

Recommended related articles and tutorials: linux tutorial

The above is the detailed content of How to check network card information in Linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn