If you are ubuntu beginner you probably didn't know how to restart network on ubuntu, in this article i will show you how to restart network service on ubuntu via command line.
Ubuntu Desktop
For ubuntu desktop you can restart the network service using this command:
sudo service network-manager restart
sudo service network-manager stop
sudo service network-manager start
Ubuntu Server
For ubuntu server, since there is no GUI, restarting the network-manager service won't work, instead run this command for ubuntu server:
For ubuntu server, since there is no GUI, restarting the network-manager service won't work, instead run this command for ubuntu server:
sudo ifdown --exclude=lo -a && sudo ifup --exclude=lo -a
No comments:
Post a Comment