problem : use systemctl restart network or service network restart Command to restart network card failed , As shown below .
[root@localhost ~]# systemctl restart network Failed to restart
network.service: Unit network.service not found. [root@localhost ~]#
[root@localhost ~]# [root@localhost ~]# service network restart Redirecting to
/bin/systemctl restart network.service Failed to restart network.service: Unit
network.service not found.
solve :

1, You can try the following command :
service network-manager restart
2, If it is Kali Linux(Debian), You need to use the following command :
service networking restart
3, If it is Centos 8, You need to use the following command :
nmcli c reload
 

Technology
©2019-2020 Toolsou All rights reserved,
Send love - A little romance for programmers VHDL—— Design of frequency divider Python Implementation of Hanoi Tower code It's over , Starting salary 30khtml+css+js Make a simple website home page QQ Login interface implementation Hill sorting of sorting algorithm ——c++ realization 【 Wechat applet learning 】 Netease music cloud code page implementation details Resume the 13th session python Blue Bridge Cup 2022 Solution to the 13th Blue Bridge Cup ( whole )