ubuntu 18.04 reset network server code example Example: how to restart the network in ubuntu $ sudo service network-manager restart