sudo systemctl restart networking
sudo service network-manager restart
Linux Network
#To Restart network
$ sudo /etc/init.d/networking restart
#To stop and start use the following option (do not run them over remote ssh session as you will get disconnected):
$ sudo /etc/init.d/networking stop
$ sudo /etc/init.d/networking start
#Debian/Ubuntu Linux with systemd, run:
$ sudo systemctl restart networking
or
$ sudo systemctl restart NetworkManager.service
Also in C++:
- how to install android sdk tools in ubuntu using command line
- start redis ubuntu
- brew install memcached
- restart sql server ubuntu
- delete branch from github mcd
- install npm mac
- how to delete a file using powershell
- ng build --prod
- how to find and replace a string in a file using shell script
- bash print substring of a field
- git user config
- ImportError: /usr/lib/aarch64-linux-gnu/libgomp.so.1: cannot allocate memory in static TLS block
- GVfs metadata is not supported. Fallback to Tell Metadata Manager. Either GVfs is not correctly installed or GVfs metadata are not supported on this platform. In the latter case, you should configure Tepl with --disable-gvfs-metadata.
- chocolatey list installed
- linux command if directory exists
- install nginx
- firebase deploy with token
- install pycharm ubuntu
- android studio licenses
- raspberry pi root password reset
- sed replace number
- pip install local directory
- tasksel uninstall package
- functions in linux