Home > Article > Operation and Maintenance > What are the commands to restart the network card in Linux?
Linux commands to restart the network card are: 1. Command [service network restart]; 2. Command [ifconfig eth0 down / ifconfig eth0 up]; 3. Command [ifdown eth0 / ifup eth0].
The operating environment of this tutorial: linux7.3 system, DELL G3 computer.
Linux restart network card commands are:
1. service network restart
1. First use the CRT tool to connect to Linux Command line interface. Or enter the operating system interface and select terminal input;
2. If you want to restart all network cards, you can try to enter: service network restart command to operate;
3. After completing the operation, use service The network restart command restarts the operation of the network card.
2. ifconfig eth0 down / ifconfig eth0 up
1. Connect to the command line interface and enter ifconfig to view the basic information of the network card;
2 , view the network card information of eth3. Enter ifconfig eth3 down to uninstall the eth3 network card;
3. Enter ifconfig eth3 up to reload the eth3 network card.
3. ifdown eth0 / ifup eth0
1. Connect to the command line interface. Enter ifdown eth3 to uninstall the network card eth3;
2. Enter ifup eth3 to reload the network card eth3;
3. This completes the restart of the network card.
Related learning recommendations: linux video tutorial
The above is the detailed content of What are the commands to restart the network card in Linux?. For more information, please follow other related articles on the PHP Chinese website!