#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!