ubuntu network restart command 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: how to restart network manager in ubuntu
sudo service network-manager restart