Home  >  Article  >  Operation and Maintenance  >  What is the command to view network card information under Linux system

What is the command to view network card information under Linux system

hzc
hzcOriginal
2020-06-18 14:56:567401browse

What is the command to view network card information under Linux system

#What is the command to view network card information under Linux system?

Many Windows users are very familiar with the ipconfig command line tool, which is used to obtain network interface configuration information and modify it. Linux systems have a similar tool, which is ifconfig (interfaces config). You usually need to log in as root or use sudo in order to use the ifconfig tool on a Linux machine. Depending on the use of some option attributes in the ifconfig command, the ifconfig tool can be used not only to simply obtain network interface configuration information, but also to modify these configurations.

1. Command format:

ifconfig [network device] [parameter]

2. Command function:

ifconfig command is used to view and configure network devices. When the network environment changes, you can use this command to configure the network accordingly.

3. Command parameters:

-a Display all interface information

-s Display summary information (similar to netstat -i)

Recommended tutorial: "linux tutorial

The above is the detailed content of What is the command to view network card information under Linux system. 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