Refresh Network Connections with a Command

This video shows you hot to refresh network/internet connections.
Refresh Network Connections Script
Commands
For Upstart: sudo service network-manager restart
For systemd: sudo systemctl restart network-manager
Create a script to run this command with one click:
nano refresh-net
Add to file:
#!/bin/bash
# Refresh network connections
sudo service network-manager restart
sleep 5
exit
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.

Gearloose

Welcome to my blog. My name is Akis Mparekas. I am a freelance web developer from Greece. At the same time I am taking my first steps in game development (unity) and animation (blender). I also create cool stuff, either for work or for fun. When I have time, I write tutorials and I blog.