This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # run this command to flush dns cache: | |
| sudo /etc/init.d/dns-clean restart | |
| # or use: | |
| sudo /etc/init.d/networking force-reload | |
| # Flush nscd dns cache: | |
| sudo /etc/init.d/nscd restart | |
| # If you wanted to refresh your settings you could disable and then run | |
| sudo service network-manager restart |