How to check the network card in linux

(*-*)浩
Release: 2019-12-28 14:02:37
Original
7549 people have browsed it

How to check the network card in linux

Linux is a Unix-like operating system that is free to use and spread freely. It is a multi-user, multi-task, multi-thread and multi-CPU operating system based on POSIX and UNIX.                                                                                                                                                                                                                    (Recommended learning: linux tutorial)

It can run major UNIX tool software, applications and network protocols. It supports 32-bit and 64-bit hardware.

Linux inherits the network-centric design philosophy of Unix and is a multi-user network operating system with stable performance.

The Linux operating system was born on October 5, 1991 (this is the first time the date was officially announced to the outside world).

Linux There are many different Linux versions, but they all use the Linux kernel. Linux can be installed on a variety of computer hardware devices, such as cell phones, tablets, routers, video game consoles, desktop computers, mainframes, and supercomputers.

Strictly speaking, the word Linux itself only refers to the Linux kernel, but in fact people are accustomed to using Linux to describe the entire operating system based on the Linux kernel and using various tools and databases of the GNU Project.

Method 1:

ethtool eth0 Use this command to view the technical indicators related to the network card.

(Not all network cards may support this command)

ethtool -i eth1 Add the -i parameter to view the network card driver.

You can try other parameters to view the relevant technical parameters of the network card.

Method 2:

You can also see the network card name (manufacturer) and other information through dmesg | grep eth0, etc.

By viewing /etc/sysconfig/network-scripts/ifcfg-eth0, you can see the current network card configuration including IP, gateway address and other information.

Of course, you can also view it through the ifconfig command.

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template