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