how to reset network on ubuntu 20.04 code example
Example 1: 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
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