restart network manager ubuntu 20.04 code example
Example: 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
#**Flush dns
sudo /etc/init.d/networking restart
#**Or
sudo /etc/init.d/nscd restart
#**Reset IP
sudo service network-manager restart