hostsctl icon indicating copy to clipboard operation
hostsctl copied to clipboard

🙈 Control your /etc/hosts file easily, block ads, soical networks, etc...

Results 2 hostsctl issues
Sort by recently updated
recently updated
newest added

The default hostsfile for [`stevenblack/hosts`][0], as of 15 Oct 2018, contains the following default entries: ```txt 127.0.0.1 localhost 127.0.0.1 localhost.localdomain 127.0.0.1 local 255.255.255.255 broadcasthost ::1 localhost ::1 ip6-localhost ::1 ip6-loopback...

`hosts_export` is fairly inefficient: ```sh hosts_export() { local grep_args=(-v -e '^#' -e '^$') # Exclude all enabled hosts from the output. IFS=$'\n' read -d '' -r -a enabled < "${ENABLED_HOSTS}"...