restart network service linux code example
Example 1: linux restart all network interfaces
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
Example 3: restart network service
sudo service network-manager restart