how to restart the network service in linux code example Example: restart network service ubuntu command line sudo service network-manager restart