useful-scripts/update-hosts.sh

12 lines
576 B
Bash
Raw Permalink Normal View History

2022-09-12 07:11:57 +00:00
#!/bin/bash
# Linux hosts Updater for the Ultimate Hosts Blacklist
# Repo Url: https://github.com/Ultimate-Hosts-Blacklist/Ultimate.Hosts.Blacklist
# Copyright (c) 2020 Ultimate Hosts Blacklist - @Ultimate-Hosts-Blacklist
# Copyright (c) 2017, 2018, 2019, 2020 Mitchell Krog - @mitchellkrogza
# Copyright (c) 2017, 2018, 2019, 2020 Nissar Chababy - @funilrys
# Get the latest updated hosts file and put it into place
sudo wget https://hosts.ubuntu101.co.za/hosts -O /etc/hosts
notify-send 'hosts was updated!' 'Maybe, maybe not, or maybe fuck off' --icon=dialog-information