linux restart network service code example
Example 1: restart network service ubuntu command line
sudo service network-manager restart
Example 2: restart network service kali
Methode 1 :
sudo service networking restart
sudo service network-manager restart
Methode 2 :
ifdown eth0
ifup eth0
ip a show eth0