restart networking ubuntu code example
Example 1: how to restart the network in ubuntu
$ sudo service network-manager restart
Example 2: restart network service ubuntu command line
sudo service network-manager restart
Example 3: debian network restart
# sudo /etc/init.d/networking restart
or
# sudo /etc/init.d/networking stop
# sudo /etc/init.d/networking start
else
# sudo systemctl restart networking