Refresh Network Connections with a Command
Posted on in Operating Systems
This video shows you hot to refresh network/internet connections.
Refresh Network Connections Script
For Upstart: sudo service network-manager restart
For systemd: sudo systemctl restart network-manager
Create a script to run this command with one click:
Add to file:
# Refresh network connections
sudo service network-manager restart
Ctrl+o saves file.
Make the file executable:
chmod +x refresh-net
Move to /bin:
sudo mv refresh-net /bin/
Please be sure to give EzeeLinux a ‘Like’ on Facebook! Thanks! https://www.facebook.com/EzeeLinux
Check out http://www.ezeelinux.com and http://www.freedompenguin.com for more about Linux.