/addhost

A simple program to set an entry in your hosts file.

Primary LanguageC

NOTICE: If you're reading this on GitHub.com please be aware this is a mirror of the primary remote located at https://code.richard.do/explore/projects. Please direct issues and pull requests there.

addhost.c

A simple program to set an entry in your hosts file.

Compile

clang -o addhost addhost.c

Example Usage

Block The Man.

sudo ./addhost 127.0.0.1 analytics.google.com