how to unkill networkmanager on kali linux code example
Example 1: how to restart network manager in ubuntu
sudo service network-manager restart
Example 2: how to reset network on ubuntu 20.04
#**Flush dns
sudo /etc/init.d/networking restart
#**Or
sudo /etc/init.d/nscd restart
#**Reset IP
sudo service network-manager restart